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

import roboschool after pip install gives TypeError due to 'tags' #210

Open
jithendaraa opened this issue Mar 29, 2020 · 3 comments
Open

Comments

@jithendaraa
Copy link

Can you point as to why this is happening and how it can be fixed?
pip install roboschool

import roboschool -> error

File "", line 1, in
File "/home/jith/.local/lib/python3.7/site-packages/roboschool/init.py", line 16, in
tags={ "pg_complexity": 1*1000000 },
File "/home/jith/anaconda3/lib/python3.7/site-packages/gym/envs/registration.py", line 139, in register
return registry.register(id, **kwargs)
File "/home/jith/anaconda3/lib/python3.7/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'

@fearofcode
Copy link

I was able to get an install that can at least import roboschool without error on Ubuntu by installing these specific versions:

pip install roboschool==1.0.48 gym==0.15.4

The gym version comes from this comment: #208 (comment) .

@tyler124
Copy link

tyler124 commented May 17, 2020

pip install roboschool==1.0.48 gym==0.15.4

and

import roboschool

Results in a:
Illegal instruction (core dumped)

for me on Ubuntu 18.04.

It worked on Mac OSX though.

@TheCrazyT
Copy link

TheCrazyT commented Mar 17, 2023

@tyler124
could be similar problem that is mentioned here:
https://tech.amikelive.com/node-887/how-to-resolve-error-illegal-instruction-core-dumped-when-running-import-tensorflow-in-a-python-program/

so maybe unsupported cpu for that version?

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

4 participants