You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I just finished installing d4rl, the following error will appear when importing d4rl: "oserror: cannot find mujoco library at / home / NOA /. Mujoco / lib / libmujoco. So. 2.1.1."
Later I edited the DM_ control code (the get_mjlib function) and inserted a hard-coded path to the file in ~/. mujoco/mujoco210/bin/libmujoco210. so. The following errors appear again.:"AttributeError: /home/lyl/.mujoco/mujoco210/bin/libmujoco210.so: undefined symbol: mj_printFormattedModel." How should I solve them?
The text was updated successfully, but these errors were encountered:
I met the same issue. Actually, it is a version conflict of dm_control and mujoco_py. The dm_control needs mujoco-2.1.1 by default while mujoco_py only support mujoco210 by now. I fixed the issue temporarily be following steps.
pip uninstall d4rl, dm_control, mujoco_py...
edit line 17 of setup.py in d4rl source file as 'dm_control @ git+git://github.com/deepmind/dm_control@644d9e0047f68b35a6f8b79e5e8493e2910563af',
which is the latest version of dm_control that support mujoco210.
pip install -e .
and we are done,
BTW, it is related to #125 and a similar solution was given and discussed in #126.
When I just finished installing d4rl, the following error will appear when importing d4rl: "oserror: cannot find mujoco library at / home / NOA /. Mujoco / lib / libmujoco. So. 2.1.1."
Later I edited the DM_ control code (the get_mjlib function) and inserted a hard-coded path to the file in ~/. mujoco/mujoco210/bin/libmujoco210. so. The following errors appear again.:"AttributeError: /home/lyl/.mujoco/mujoco210/bin/libmujoco210.so: undefined symbol: mj_printFormattedModel." How should I solve them?
The text was updated successfully, but these errors were encountered: