openai / roboschool

DEPRECATED: Open-source software for robot simulation, integrated with OpenAI Gym.
Other
2.12k stars 486 forks source link

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

Open jithendaraa opened 4 years ago

jithendaraa commented 4 years ago

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 commented 4 years ago

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: https://github.com/openai/roboschool/issues/208#issuecomment-587220664 .

tyler124 commented 4 years ago

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 commented 1 year ago

@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?