Open abhigenie92 opened 6 years ago
I was getting the same error. I wrote full path of my xml file in model line and it worked. model = load_model_from_path("/home/joy/.mujoco/mjpro150/mujoco-py-1.50.1.0/xmls/fetch/main.xml")
orflow) gbenga@gbenga-Lenovo:~/Downloads/mujoco-py-master/examples$ python3 disco_fetch.py
Traceback (most recent call last):
File "disco_fetch.py", line 9, in
@abhigenie92 if you update to latest mujoco-py, xmls are now distributed with the package.
@GbengaOdesanmi I am getting the exact error, did you manage to solve it?
The XMLs are included with the python package, but don't seem to be getting installed to that location.
Does it work if you download the files or checkout the repo and load the model from there?
I just updated the readme to use a humanoid xml as an example instead.
https://github.com/openai/mujoco-py#install-and-use-mujoco-py
@Ameyapores then it was path problem, and i was able to resolve it, yesterday, I also had the same problem. try to check the updated readme. thanks @machinaut
I had a similar error earlier today - as it turns out the message spewed by the compiler isn't very descriptive of the underlying error. In my case, the XML file I was trying to load had other XML dependencies it couldn't access or find. Fixed it by moving around some files. Hope this helps someone out!
Mujoco_py installed correctly and imports fine. I get the above error.
I am using the mujoco_py and gym installed from the github repo. directly. Everything is latest.
Using the cython 0.27.3 still doesn't work as referenced here - https://github.com/openai/mujoco-py/issues/131#issuecomment-340081199 in this issue https://github.com/openai/mujoco-py/issues/131#issuecomment-340081199