Originally posted by @zhuliquan in #1 (comment)
您好,我按照您第一节给的环境进行配置,运行的最后一步会出现这样的错误
import gym
env = gym.make('GridGame-v0')
Traceback (most recent call last):
File "/home/xxf/gym/gym/envs/registration.py", line 143, in spec
return self.env_specs[id]
KeyError: 'GridGame-v0'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 1, in
File "/home/xxf/gym/gym/envs/registration.py", line 167, in make
return registry.make(id)
File "/home/xxf/gym/gym/envs/registration.py", line 118, in make
spec = self.spec(id)
File "/home/xxf/gym/gym/envs/registration.py", line 153, in spec
raise error.UnregisteredEnv('No registered env with id: {}'.format(id))
gym.error.UnregisteredEnv: No registered env with id: GridGame-v0
您可以指点下吗?
Originally posted by @zhuliquan in #1 (comment)
您好,我按照您第一节给的环境进行配置,运行的最后一步会出现这样的错误
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 1, in
File "/home/xxf/gym/gym/envs/registration.py", line 167, in make
return registry.make(id)
File "/home/xxf/gym/gym/envs/registration.py", line 118, in make
spec = self.spec(id)
File "/home/xxf/gym/gym/envs/registration.py", line 153, in spec
raise error.UnregisteredEnv('No registered env with id: {}'.format(id))
gym.error.UnregisteredEnv: No registered env with id: GridGame-v0
您可以指点下吗?