evogym icon indicating copy to clipboard operation
evogym copied to clipboard

ModuleNotFoundError: No module named 'gym'

Open a-ragdoll opened this issue 2 years ago • 2 comments

followed instructions correctly (hopefully), but when I run python gym_test.py an error pops up saying that there's no 'gym' module, help? (i'm on windows 10 btw)

a-ragdoll avatar Jul 20 '23 16:07 a-ragdoll

Make sure that you have chosen the correct python environment (if you use conda), or you can use " pip list" to check if gym is successfully installed in your environment.

Yuxing-Wang-THU avatar Oct 23 '23 13:10 Yuxing-Wang-THU

Like Yuxing said, if Gym is not installed pip install gym should solve the problem.

csvelayutham avatar Mar 16 '24 06:03 csvelayutham

pip install evogym --upgrade should now automatically install all required dependencies.

jagdeepsb avatar Aug 10 '24 21:08 jagdeepsb