Mujoco-py: Failed to load xml file

Created on 25 Oct 2018  路  2Comments  路  Source: openai/mujoco-py

Traceback (most recent call last):
File "disco_fetch.py", line 9, in
model = load_model_from_path("xmls/fetch/main.xml")
File "cymj.pyx", line 131, in mujoco_py.cymj.load_model_from_path
Exception: Failed to load XML file: xmls/fetch/main.xml. mj_loadXML error: b'XML parse error at line 0, column 0:\nFailed to open file\n'

_Originally posted by @GbengaOdesanmi in https://github.com/openai/mujoco-py/issue_comments#issuecomment-433088647_

Most helpful comment

The examples are meant to be run from the root directory.

If you are in the root directory and run python examples/disco_fetch.py does it work?

All 2 comments

The examples are meant to be run from the root directory.

If you are in the root directory and run python examples/disco_fetch.py does it work?

Thanks it was path problem @machinaut

Was this page helpful?
0 / 5 - 0 ratings

Related issues

febert picture febert  路  4Comments

dialogchat picture dialogchat  路  3Comments

yasiemir picture yasiemir  路  5Comments

jjkke88 picture jjkke88  路  6Comments

inksci picture inksci  路  3Comments