Closed INSTRUMXNTAL closed 1 year ago
Have you also used this command?
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
Ah yes, I forgot to mention that I already have it installed, as I use StableDiffusion. For sanity's sake, I did rerun through all the setup steps, running the commands again (including the one you just mentioned), and none of the setup commands threw errors, they all say that the requirements are already satisfied.
Edit: Considering that there might be some funkiness to the fact that i already had it installed, I have just now run:
pip3 uninstall torch torchvision torchaudio
then:
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
to ensure that those ones specifically were installed.
Having uninstalled and reinstalled, I still get the same error.
I have no idea what could be causing that error, for me it worked perfectly, however I downloaded the source code instead of cloning the repo. Maybe that works?
I tried that, no dice. I then copied the _"trackmaniarl" folder into my global python packages location and it is now working. Seems it was looking in the wrong place on my system. Thank you for your help ♥
Is your E disk your work disk and your other disk (ssd) the one with windows?
I have a typical windows C: drive install, with other separate SSD's (D: and E:) for miscellaneous storage. So yes, my E: drive is one for random projects.
Then that was probably it, the E drive isn't in the python path so it can't access everything, in the ssd it works because python is installed there.
Happy you got it fixed!
I have the game and TMInterface installed and setup. I ran the virtual checkpoints script and successfully generated the map.npy When i run the command, "python ./scripts/train.py", in my terminal I get this error.
Traceback (most recent call last): File "E:\trackmania_rl_public\scripts\train.py", line 14, in
import trackmania_rl.agents.iqn as iqn
ModuleNotFoundError: No module named 'trackmania_rl'
I am on Windows 11, running Python 3.10.10. I have git4windows installed, in order to clone the repo. I opened the terminal in the repo location, _"E:\trackmania_rlpublic", (as seen above) and ran the "pip install -r requirements.txt" command, which completed without any errors. As well as the "pip install -e ." command, also without error. Any help would be appreciated.