File "D:\anaconda3\envs\madps\lib\site-packages\gym\envs\registration.py", line 145, in make
return registry.make(id, **kwargs)
File "D:\anaconda3\envs\madps\lib\site-packages\gym\envs\registration.py", line 89, in make
spec = self.spec(path)
File "D:\anaconda3\envs\madps\lib\site-packages\gym\envs\registration.py", line 131, in spec
raise error.UnregisteredEnv('No registered env with id: {}'.format(id))
gym.error.UnregisteredEnv: No registered env with id: pz-mpe-large-spread-v1
Process finished with exit code 0
你说:“Replace the file directory at madps/large_spread_example.py with pettingzoo/mpe/scenarios/large_spread.py to access the updated task.”
pz-mpe-large-spread-v1没有注册,是不是单纯的替换环境的这个文件为你给的large_spread_example.py,不能被识别?是不是还需要额外把他加到pettingzoo的环境注册表里面?
File "D:\anaconda3\envs\madps\lib\site-packages\gym\envs\registration.py", line 145, in make return registry.make(id, **kwargs) File "D:\anaconda3\envs\madps\lib\site-packages\gym\envs\registration.py", line 89, in make spec = self.spec(path) File "D:\anaconda3\envs\madps\lib\site-packages\gym\envs\registration.py", line 131, in spec raise error.UnregisteredEnv('No registered env with id: {}'.format(id)) gym.error.UnregisteredEnv: No registered env with id: pz-mpe-large-spread-v1
Process finished with exit code 0 你说:“Replace the file directory at madps/large_spread_example.py with pettingzoo/mpe/scenarios/large_spread.py to access the updated task.” pz-mpe-large-spread-v1没有注册,是不是单纯的替换环境的这个文件为你给的large_spread_example.py,不能被识别?是不是还需要额外把他加到pettingzoo的环境注册表里面?