Skip to content

Instantly share code, notes, and snippets.

@Nov05
Created February 24, 2024 17:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Nov05/ee201818195a533dbe870401b09150d9 to your computer and use it in GitHub Desktop.
Save Nov05/ee201818195a533dbe870401b09150d9 to your computer and use it in GitHub Desktop.
(drlnd_p2) PS D:\github\udacity-deep-reinforcement-learning\python\mujoco-py> python examples\body_interaction.py

You appear to be missing MuJoCo.  We expected to find the file here: C:\Users\*\.mujoco\mujoco210

This package only provides python bindings, the library must be installed separately.

Please follow the instructions on the README to install MuJoCo

    https://github.com/openai/mujoco-py#install-mujoco

Which can be downloaded from the website

    https://www.roboti.us/index.html

Traceback (most recent call last):
  File "examples\body_interaction.py", line 10, in <module>
    from mujoco_py import load_model_from_xml, MjSim, MjViewer
  File "D:\Users\*\miniconda3\envs\drlnd_p2\lib\site-packages\mujoco_py-2.1.2.14-py3.6.egg\mujoco_py\__init__.py", line 2, in <module>
    from mujoco_py.builder import cymj, ignore_mujoco_warnings, functions, MujocoException
  File "D:\Users\*\miniconda3\envs\drlnd_p2\lib\site-packages\mujoco_py-2.1.2.14-py3.6.egg\mujoco_py\builder.py", line 503, in <module>
    mujoco_path = discover_mujoco()
  File "D:\Users\*\miniconda3\envs\drlnd_p2\lib\site-packages\mujoco_py-2.1.2.14-py3.6.egg\mujoco_py\utils.py", line 78, in discover_mujoco       
    raise Exception(message)
Exception:
You appear to be missing MuJoCo.  We expected to find the file here: C:\Users\*\.mujoco\mujoco210

This package only provides python bindings, the library must be installed separately.

Please follow the instructions on the README to install MuJoCo

    https://github.com/openai/mujoco-py#install-mujoco

Which can be downloaded from the website

    https://www.roboti.us/index.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment