-
Notifications
You must be signed in to change notification settings - Fork 3
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
ModuleNotFoundError: No module named 'snake_gym.envs' #2
Comments
Hi pipenv install -e git+https://github.com/grantsrb/Gym-Snake.git#egg=snake_gym and this to test code import gym
import gym_snake
env = gym.make("snake-v0")
env.reset()
env.render()
for _ in range(500):
env.render()
env.step(1) |
This command (pipenv install -e git+https://github.com/grantsrb/Gym-Snake.git#egg=snake_gym) is not working with me on anaconda |
I had the same Issue and to resolve it I had to perform the following steps
That should help fix it |
I am using the pip package snake-gym 1.8. My code is exactly as described on https://pypi.org/project/snake-gym/
Full traceback:
Language: Python 3.7
IDE: Pycharm 2019.3.3
The text was updated successfully, but these errors were encountered: