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

__init__() got an unexpected keyword argument 'tags' with python 3.6.8 #4

Open
ricardosalazarcab opened this issue Apr 14, 2020 · 4 comments

Comments

@ricardosalazarcab
Copy link

I have the next error, in the example: "example_gym_traffic_dqn". Could you help me?

Python 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 24 2018, 00:16:47) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license()" for more information.

RESTART: C:\Python3.6.8\scripts\gym-traffic-master\examples\example_gym_traffic_dqn.py
Traceback (most recent call last):
File "C:\Python3.6.8\scripts\gym-traffic-master\examples\example_gym_traffic_dqn.py", line 4, in
from gym_traffic.agents import DQN, EpsilonExplorer
File "C:\Users\RICARDO\AppData\Local\Programs\Python\Python36\lib\site-packages\gym_traffic-0.0.1-py3.6.egg\gym_traffic_init_.py", line 8, in
nondeterministic=True
File "C:\Users\RICARDO\AppData\Local\Programs\Python\Python36\lib\site-packages\gym\envs\registration.py", line 139, in register
return registry.register(id, **kwargs)
File "C:\Users\RICARDO\AppData\Local\Programs\Python\Python36\lib\site-packages\gym\envs\registration.py", line 133, in register
self.env_specs[id] = EnvSpec(id, **kwargs)
TypeError: init() got an unexpected keyword argument 'tags'

@agbulutonur
Copy link

I had the same issue while running the example.

1 similar comment
@SHITIANYU-hue
Copy link

I had the same issue while running the example.

@EricSchuMa
Copy link

Check this out openai/roboschool#208

@TheMedicineSeller
Copy link

Same error while running examples/example_gym_traffic_random.py , is downgrading to an older gym version the only possible cure ?
Also if i don't want to downgrade, is it good enough to comment out the tags= argument in __init__() in the setup.py file ?

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