philtabor / Deep-Q-Learning-Paper-To-Code

MIT License
351 stars 146 forks source link

No registered env with id: PongNoFrameskip-v4 #13

Open Elmahedi opened 2 years ago

Elmahedi commented 2 years ago

Please, I have the following issue while trying to run main_dueling_ddqn.py essue

philtabor commented 2 years ago

First, I would make sure you did pip install gym[atari]. If that fails, then I recommend trying the advice in this thread:

https://github.com/openai/gym/issues/1218

You'll need a compiler to build the binaries from source.

The other option is to use gym-retro and download the Atari roms from the internet archive.

steelep commented 2 years ago

If anyone else is having this issue, use an environment with Python 3.7 (yes I know notes say 3.6, but this doesnt break anything afaik), and run pip install gym[atari,accept-rom-license]==0.21