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.83k stars 810 forks source link

mujoco_py set path #681

Open Omar-Abdul-Aziz opened 2 years ago

Omar-Abdul-Aziz commented 2 years ago

I'm trying to run a mujoco_py file and I'm getting this error. I'm stucking with a lot of set path comments but I'm not able to do so. Can someone help me to set this path please?

Traceback (most recent call last): File "C:/Users/USER/Desktop/FYP/python/mujocotest.py", line 1, in import mujoco_py File "C:\Users\USER\AppData\Local\Programs\Python\Python39\lib\site-packages\mujoco_py__init__.py", line 3, in from mujoco_py.builder import cymj, ignore_mujoco_warnings, functions, MujocoException File "C:\Users\USER\AppData\Local\Programs\Python\Python39\lib\site-packages\mujoco_py\builder.py", line 506, in cymj = load_cython_ext(mujoco_path) File "C:\Users\USER\AppData\Local\Programs\Python\Python39\lib\site-packages\mujoco_py\builder.py", line 78, in load_cython_ext raise Exception("Please add mujoco library to your PATH:\n" Exception: Please add mujoco library to your PATH: set PATH=C:\Users\USER.mujoco\mujoco200\bin;%PATH%

nikhild05 commented 2 years ago

I'm facing the same issue right now. Did you find any solution to this?