I’m running into an issue with the mlagents-learn command not being recognized when my unity project is on my D: drive. I don’t have this issue when I run the command if the unity project is on my C: (main) drive.
In both instances, I use CMD to run:
cd ‘project directory’
venv\Scripts\activate
mlagents-learn
I’m not entirely sure what’s causing this, any ideas?
hi Jan - i’m not a Windows expert, but I don’t believe you can use virtual environments on different disks or networks drives on Windows. You might need to install Python on the D:\ resolve this.
Hello Jeffrey, thanks for the reply.
While the python installer gave an error because it was already installed on my system, your anser inspired me to try the following:
I added my python install directory to the system environment variables as explained here:
In case others run into this problem:
The default directory for Python 3.7, which you should add to the system environment variables is this: C:\Users\Username\AppData\Local\Programs\Python\Python37.