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

unexpected keyword argument 'tags' #208

Open
ZiningYin opened this issue Feb 10, 2020 · 6 comments
Open

unexpected keyword argument 'tags' #208

ZiningYin opened this issue Feb 10, 2020 · 6 comments

Comments

@ZiningYin
Copy link

ZiningYin commented Feb 10, 2020

File "/usr/local/lib/python3.6/dist-packages/roboschool/init.py", line 16, in
tags={ "pg_complexity": 1*1000000 },
File "/usr/local/lib/python3.6/dist-packages/gym/envs/registration.py", line 139, in register
return registry.register(id, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/gym/envs/registration.py", line 133, in register
self.env_specs[id] = EnvSpec(id, **kwargs)
TypeError: init() got an unexpected keyword argument 'tags'

Name: gym
Version: 0.15.6

@thavidu
Copy link

thavidu commented Feb 17, 2020

+1 I get this issue too, when trying to just import roboschool

@thavidu
Copy link

thavidu commented Feb 17, 2020

Looks like this was introduced in openai/gym@a99e8d1#diff-3dff15d44236dd4f0f823a6ddb7e8c9b this change to openAI gym

@thavidu
Copy link

thavidu commented Feb 18, 2020

which makes me think reverting to version 0.15.4 of gym should fix it (but i have other issues in my environment so can't confirm whether that is enough or not)

@leilani-x
Copy link

which makes me think reverting to version 0.15.4 of gym should fix it (but i have other issues in my environment so can't confirm whether that is enough or not)

@thavidu Thx, pip install gym==0.15.4 can fix it.
Btw, roboschool should be reverted to 1.0.48 (pip install roboschool==1.0.48). I get ImportError: /lib/x86_64-linux-gnu/libc.so.6: version 'GLIBC_2.25' not found (required by /home/llx/anaconda3/envs/openAiBaseline/lib/python3.6/site-packages/roboschool/.libs/libQt5Core.so.5) after reverting gym to version 0.15.4

@Mark-bit520
Copy link

why should I revert gym to 0.15.4, why not roboschool update its version? I also install stable_baselines3, it requires gym version>0.17.0.

@sgillen
Copy link

sgillen commented Jul 20, 2021

@Mark-bit520, From the roboschool README: "Status: Archive (code is provided as-is, no updates expected)" and also: "DEPRECATED: Please use PyBullet instead". So if you want to use Roboschool you will need to downgrade your gym etc.

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