openai / mujoco-py

MuJoCo is a physics engine for detailed, efficient rigid body simulations with contacts. mujoco-py allows using MuJoCo from Python 3.
Other
2.81k stars 810 forks source link

Import error #718

Open MishraIN opened 2 years ago

MishraIN commented 2 years ago

I am getting error,

Exception: You appear to be missing MuJoCo. We expected to find the file here: /Users/rditlis9/.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

!pip install -U 'mujoco-py<2.2,>=2.1'

Requirement already satisfied: mujoco-py<2.2,>=2.1 in /opt/anaconda3/lib/python3.8/site-packages (2.1.2.14) Requirement already satisfied: fasteners~=0.15 in /opt/anaconda3/lib/python3.8/site-packages (from mujoco-py<2.2,>=2.1) (0.17.3)

mujoco dir
ArchibaldChain commented 1 year ago

I got the same problem. But when I check the /user/ location, I cannot find the package '.mujoco/mujoco210'. Why do you have the package here?