Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No registered env with id: halfcheetah-medium-v2 #44

Open
boykac opened this issue Jul 6, 2022 · 4 comments
Open

No registered env with id: halfcheetah-medium-v2 #44

boykac opened this issue Jul 6, 2022 · 4 comments

Comments

@boykac
Copy link

boykac commented Jul 6, 2022

python download_d4rl_datasets.py
->
Traceback (most recent call last):
File "download_d4rl_datasets.py", line 12, in
env = gym.make(name)
File "/public/home/chenxn1/anaconda3/envs/decision-transformer-gym/lib/python3.8/site-packages/gym/envs/registration.py", line 145, in make
return registry.make(id, **kwargs)
File "/public/home/chenxn1/anaconda3/envs/decision-transformer-gym/lib/python3.8/site-packages/gym/envs/registration.py", line 89, in make
spec = self.spec(path)
File "/public/home/chenxn1/anaconda3/envs/decision-transformer-gym/lib/python3.8/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: halfcheetah-medium-v2

@cwf1005
Copy link

cwf1005 commented Sep 17, 2022

You should install d4rl, and import d4rl before gym.make()

@ShuboLiu
Copy link

ShuboLiu commented Feb 7, 2023

After I import d4rl first, this error remians. Can anyone help me with it?

@tangtaotao123
Copy link

maybe you didn't install mlrl

@arks22
Copy link

arks22 commented Dec 1, 2023

I had the same problem, but after installing D4RL using this method from the D4RL README, I was able to download the data sets such as halhcheetah-midium-v2 and others.
https://github.com/Farama-Foundation/D4RL#setup
Perhaps you should also make sure that MuJoCo2.1.0 is downloaded correctly.

Hope this helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants