Youtube-Code-Repository icon indicating copy to clipboard operation
Youtube-Code-Repository copied to clipboard

Does not start your python code.

Open rocketmaniaKim opened this issue 2 years ago • 0 comments

Hello, I'm trying to start your Lunar_lander code, 'main_torch_dqn_lundar_lander.py' in 'archive' folder, but it is not started. The following is the error. Thank you. File "C:\Users\ys-th\Desktop\Spring2022\main_torch_dqn_lunar_lander.py", line 15, in env = gym.make('LunarLander-v2')

File "C:\Users\ys-th\miniconda3\lib\site-packages\gym\envs\registration.py", line 676, in make return registry.make(id, **kwargs)

File "C:\Users\ys-th\miniconda3\lib\site-packages\gym\envs\registration.py", line 490, in make versions = self.env_specs.versions(namespace, name)

File "C:\Users\ys-th\miniconda3\lib\site-packages\gym\envs\registration.py", line 220, in versions self._assert_name_exists(namespace, name)

File "C:\Users\ys-th\miniconda3\lib\site-packages\gym\envs\registration.py", line 271, in _assert_name_exists self._assert_namespace_exists(namespace)

File "C:\Users\ys-th\miniconda3\lib\site-packages\gym\envs\registration.py", line 268, in _assert_namespace_exists raise error.NamespaceNotFound(message)

NamespaceNotFound: Namespace None does not exist.

rocketmaniaKim avatar Apr 30 '22 19:04 rocketmaniaKim