Issue of running predict-server.py and demo.lua
dark051138 opened this issue · 1 comments
Dear sir, I just set up all the files according to your instructions. However, when I run predict-server.py with my console, it just starts it up as a txt. It doesn't seem to open a server on port 36296. I tried to load demo.lua with bizhawk but it's giving me an error saying "mode: TT Course: LR Failed to connect to server: connection refused". I attached some screenshots of the error and my setup, please let me know what went wrong and how do I fix it. Thank you.
Whoops, somehow I missed this issue. The problem is that your script isn't opening up in Python. You either don't have Python installed or it's installed but not registered as the application for .py files. If you have it installed and in your PATH, you can try python3 predict-server.py
. If it's not in your path, you will need to put the full location of the Python interpreter exe.
Check out this Stack Overflow link: https://stackoverflow.com/questions/15121714/how-do-i-get-a-python-program-to-run-instead-of-opening-in-notepad