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

ImportError: cannot import name 'specs' from 'dm_control.rl' #7

Open
wxplovehlt opened this issue Apr 22, 2022 · 0 comments
Open

ImportError: cannot import name 'specs' from 'dm_control.rl' #7

wxplovehlt opened this issue Apr 22, 2022 · 0 comments

Comments

@wxplovehlt
Copy link

hi,when I execute the following test code,will report the following error. Looking forward to your reply
import gym
import dm_control2gym

make the dm_control environment

env = dm_control2gym.make(domain_name="cartpole", task_name="balance")

/env/lib/python3.7/site-packages/glfw/init.py:906: GLFWError: (65544) b'X11: Failed to open display :0'
warnings.warn(message, GLFWError)
Traceback (most recent call last):
File "test-dm2gym.py", line 2, in
import dm_control2gym
File "/env/lib/python3.7/site-packages/dm_control2gym-0.0.4-py3.7.egg/dm_control2gym/init.py", line 3, in
File "/env/lib/python3.7/site-packages/dm_control2gym-0.0.4-py3.7.egg/dm_control2gym/wrapper.py", line 3, in
ImportError: cannot import name 'specs' from 'dm_control.rl' (/env/lib/python3.7/site-packages/dm_control/rl/init.py)

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

1 participant