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
Debug mode: on
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
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 triedpython3 -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