Closed Michi-123 closed 3 years ago
Hello,
The issue comes from atari-py, you need to install atari-py==0.2.5
It works! Thank you very much.
I am getting this error on google colab
env = gym.make('Breakout-v4')
the error associated is
NameNotFound Traceback (most recent call last)
[<ipython-input-16-9bff2d9ca04b>](https://cbidt6dpo6f-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab_20240110-060149_RC00_597200367#) in <cell line: 10>()
8 batch_size = 5
9 max_episode_length = 1000
---> 10 env = gym.make('Breakout-v4')
11 num_actions = env.action_space.n
12 solved = False
2 frames
[/usr/local/lib/python3.10/dist-packages/gym/envs/registration.py](https://cbidt6dpo6f-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab_20240110-060149_RC00_597200367#) in _check_name_exists(ns, name)
210 suggestion_msg = f"Did you mean: `{suggestion[0]}`?" if suggestion else ""
211
--> 212 raise error.NameNotFound(
213 f"Environment {name} doesn't exist{namespace_msg}. {suggestion_msg}"
214 )
NameNotFound: Environment Breakout doesn't exist.```
Breakout env doesn't exist on Google colab.
env = make_atari_env('BreakoutNoFrameskip-v4', num_env=16, seed=0)
Executed above code, the following error occurs. What should I do? I need your help. Thank you.