UnregisteredEnv: No registered env with id: MineRLNavigateDense-v0


KeyError Traceback (most recent call last)
/usr/local/lib/python3.7/dist-packages/gym/envs/registration.py in spec(self, path)
120 try:
–> 121 return self.env_specs[id]
122 except KeyError:

KeyError: ‘MineRLNavigateDense-v0’

During handling of the above exception, another exception occurred:

UnregisteredEnv Traceback (most recent call last)
3 frames
/usr/local/lib/python3.7/dist-packages/gym/envs/registration.py in spec(self, path)
129 raise error.DeprecatedEnv(‘Env {} not found (valid versions include {})’.format(id, matching_envs))
130 else:
–> 131 raise error.UnregisteredEnv(‘No registered env with id: {}’.format(id))
132
133 def register(self, id, **kwargs):

UnregisteredEnv: No registered env with id: MineRLNavigateDense-v0

Thank you very much for your help.
When I run the code, I get an error.

env = gym.make(‘MineRLNavigateDense-v0’)

Hey. I was not able to reproduce this error. Make sure you import minerl as well. Also try upgrading your MineRL installation with pip install --upgrade minerl.

If things still fail, please share your system details/setup so I can look into this further :slight_smile: