报错:File “wrappers.pxi“, line 1042, in mujoco_py.cymj.TypeError: ‘numpy.intc‘ object is not iterable

  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:
insert image description here
  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~

Guess you like

Origin blog.csdn.net/gls_nuaa/article/details/130790983