Closed sheepc closed 2 years ago
I guess that the contributor of mujoco is changing their variable names, only the mujoco210 is available, you can download from this page. https://github.com/deepmind/mujoco/releases/tag/2.1.0
Thanks you! It is useful
I guess that the contributor of mujoco is changing their variable names, only the mujoco210 is available, you can download from this page. https://github.com/deepmind/mujoco/releases/tag/2.1.0
Thanks!
I guess that the contributor of mujoco is changing their variable names, only the mujoco210 is available, you can download from this page. https://github.com/deepmind/mujoco/releases/tag/2.1.0
Thank you
This won't work for ARM based macs using M1/M2 :(
Describe the bug when import mujoco_py report this error, I had try to change gcc version 7 8 9, but is no useful.
Error Messages
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "", line 1, in
File "/home/sheepc/mujoco-py/mujoco_py/init.py", line 2, in
from mujoco_py.builder import cymj, ignore_mujoco_warnings, functions, MujocoException
File "/home/sheepc/mujoco-py/mujoco_py/builder.py", line 504, in
cymj = load_cython_ext(mujoco_path)
File "/home/sheepc/mujoco-py/mujoco_py/builder.py", line 110, in load_cython_ext
cext_so_path = builder.build()
File "/home/sheepc/mujoco-py/mujoco_py/builder.py", line 226, in build
built_so_file_path = self._build_impl()
File "/home/sheepc/mujoco-py/mujoco_py/builder.py", line 296, in _build_impl
so_file_path = super()._build_impl()
File "/home/sheepc/mujoco-py/mujoco_py/builder.py", line 249, in _build_impl
dist.run_commands()
File "/home/sheepc/anaconda3/envs/mujoco/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 967, in run_commands
self.run_command(cmd)
File "/home/sheepc/anaconda3/envs/mujoco/lib/python3.8/site-packages/setuptools/dist.py", line 1214, in run_command
super().run_command(command)
File "/home/sheepc/anaconda3/envs/mujoco/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
cmd_obj.run()
File "/home/sheepc/anaconda3/envs/mujoco/lib/python3.8/site-packages/Cython/Distutils/old_build_ext.py", line 186, in run
_build_ext.build_ext.run(self)
File "/home/sheepc/anaconda3/envs/mujoco/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 339, in run
self.build_extensions()
File "/home/sheepc/mujoco-py/mujoco_py/builder.py", line 149, in build_extensions
build_ext.build_extensions(self)
File "/home/sheepc/anaconda3/envs/mujoco/lib/python3.8/site-packages/Cython/Distutils/old_build_ext.py", line 195, in build_extensions
_build_ext.build_ext.build_extensions(self)
File "/home/sheepc/anaconda3/envs/mujoco/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 448, in build_extensions
self._build_extensions_serial()
File "/home/sheepc/anaconda3/envs/mujoco/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 473, in _build_extensions_serial
self.build_extension(ext)
File "/home/sheepc/anaconda3/envs/mujoco/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 528, in build_extension
objects = self.compiler.compile(sources,
File "/home/sheepc/anaconda3/envs/mujoco/lib/python3.8/site-packages/setuptools/_distutils/ccompiler.py", line 574, in compile
self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
File "/home/sheepc/anaconda3/envs/mujoco/lib/python3.8/site-packages/setuptools/_distutils/unixccompiler.py", line 176, in _compile
raise CompileError(msg)
distutils.errors.CompileError: command '/usr/bin/gcc' failed with exit code 1
Desktop (please complete the following information):
Environment export MUJOCO_PY_MUJOCO_PATH=/usr/local/mujoco export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/mujoco/bin export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/nvidia export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libGLEW.so