ERROR: Failed building wheel for mujoco-py [How to Solve]

This error occurred in the last step of installing mujoco.

All the previous steps have been obtained, including downloading mjkey, installing VC + + buildtools, downloading mjpro150 and the corresponding version of mujoco py. In many tutorials, it is mentioned that PIP install mujoco py = = should be run at last, so an error appears in the title.


pip install -e <path>

< path> Is the local mujoco py file directory. The installation was successful.


During the first import, the compilation will be performed first, and errors may be reported, such as mujoco and mujoco_Py installed pit code farm home

Read More: