I ran a mojuco program and reported this error. This article records the solution~
First, modify some content in mojuco-py according to the method of this article , mainly:
But I reported an error again when I followed this execution:
ImportError: DLL load failed while importing cymj: 找不到指定的模块
The solution is to execute the following lines:
python
import os
os.add_dll_directory("C:\\Users\\Administrator\\.mujoco\\mjpro150\\bin")
os.add_dll_directory("C:\\Users\\Administrator\\.mujoco\\mujoco-py-1.50.1.0")
import mujoco_py
exit()
Then execute it again~