Open Slinfair opened 8 months ago
Hello! It looks like the issue is that your command window is already running the python interpreter, while you actually want to run them just in a regular command prompt.
Below is a full guide for windows setup made by members in the discord. Feel free to ask for help there as well if you get stuck!
Windows Guide:
1.) Python, https://www.python.org/ftp/python/3.11.6/python-3.11.6-amd64.exe 2.) Install it, make sure "Add Python to path" is enabled
3.) Git, https://github.com/git-for-windows/git/releases/download/v2.42.0.windows.2/Git-2.42.0.2-64-bit.exe 4.) Install it https://i.postimg.cc/DyJ1m4YG/image.png https://i.postimg.cc/C5WBbJ6q/image.png https://i.postimg.cc/hPd7KWfb/image.png https://i.postimg.cc/LsNJxmbR/image.png https://i.postimg.cc/1XN4Rw55/image.png https://i.postimg.cc/HjDnrnV0/image.png https://i.postimg.cc/W17mPLHY/image.png https://i.postimg.cc/cJ9Qr7ZQ/image.png https://i.postimg.cc/638CR75F/image.png https://i.postimg.cc/2jB4SBtZ/image.png https://i.postimg.cc/sD4GMP4v/image.png https://i.postimg.cc/bvWs7mpF/image.png
5.) Microsoft C++ Build Tools, https://visualstudio.microsoft.com/visual-cpp-build-tools/ 6.) Install it https://i.postimg.cc/Yq15fqds/image.png Windows 11 https://i.postimg.cc/VkKHDSnD/image.png Windows 10 https://i.postimg.cc/43KwPWJx/image.png
7.) Open cmd 7.1) Browse to the path of the git, for example "cd C:\Users\YourWindowsUsername\Downloads\PokemonRedExperiments-master\baselines" 7.2) Type "pip install -r requirements.txt" 7.3) If you didn't got any warnings or red text you're good to go and use it
If you had already a version of python installed, Python 3.11.6 might not work from the above command lines, you should use the below paths for the pip command and the python command
"%localappdata%\Programs\Python\Python311\Scripts\pip.exe" install -r requirements.txt
"%localappdata%\Programs\Python\Python311\python.exe" run_pretrained_interactive.py
"%localappdata%\Programs\Python\Python311\python.exe" run_baseline_parallel_fast.py
Hope that helps!
Hi ! Helped quite a bit but still stuck with an error message in the end, would you know how to tackle it ? I am sorry but I dont have a Discord account as of yet.
Hi, the error is saying you need microsoft c++ build tools installed. Did you already complete that step? https://visualstudio.microsoft.com/visual-cpp-build-tools/
Bonjour ! First thanks for this amazing piece of work, sincerely. And your Youtube video is compelling and inspiring ! Unfortunately i am not well versed yet in Python or even executing commands in the cmd ... but I would love to "play" with what you created and learn while doing so.
What I have managed to do : install Python 3.11 use GitHub desktop to clone your directory (screenshot below) downloaded and paste PokemonRed.gb into the general directory change my CWD in python screen to "C:\Users\Roche\Documents\GitHub\PokemonRedExperiments\baselines"
but when trying the command pip install -r requirements.txt, I get below error.
It would be amazing if you could spare the time to help me set up
Warm regards,
N