Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please help a French - stuck at installation #174

Open
Slinfair opened this issue Mar 31, 2024 · 3 comments
Open

Please help a French - stuck at installation #174

Slinfair opened this issue Mar 31, 2024 · 3 comments

Comments

@Slinfair
Copy link

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

image_2024-03-31_051012361
Repository

@PWhiddy
Copy link
Owner

PWhiddy commented Mar 31, 2024

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!

@Slinfair
Copy link
Author

Slinfair commented Apr 1, 2024

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.

image_2024-04-01_142331796

@PWhiddy
Copy link
Owner

PWhiddy commented Apr 1, 2024

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants