kyleskom / NBA-Machine-Learning-Sports-Betting

NBA sports betting using machine learning
1.21k stars 437 forks source link

Issue with Flask Startup (probably easy fix) #147

Closed lsultana98 closed 1 year ago

lsultana98 commented 1 year ago

Please see below code + error. I had the same error when I was trying to run the main.py file initially through Unraid. I figured out it was due to the 'python' command using the older version of python. Using python3 main.py -xgb -odds=fanduel fixed the initial error. However I cannot figure out the correct way to get around the below error. I have tried python3 -m flask run --debug --host=0.0.0.0 instead with no luck also.

root@UNRAID:/mnt/disks/ua_appdata/appdata/nbabetting/NBA-Machine-Learning-Sports-Betting/Flask# flask run --debug --host=0.0.0.0

NewBurLaSKing commented 1 year ago

well! Dude, have you resolved this issue? I also encountered this issue yesterday while trying to run app.py. This issue looks cool!