概述
运行mujoco-py例程出现错误:distutils.errors.CompileError: command '/usr/bin/gcc' failed with exit code - 知乎
distutils.errors.LinkError: command 'gcc' failed with exit status 1
方法:
sudo apt install libosmesa6-dev libgl1-mesa-glx libglfw3
```
If you installed above libraries and you still see an error that -lGL cannot be found, most likely you need to create the symbolic link directly:
```
sudo ln -s /usr/lib/x86_64-linux-gnu/libGL.so.1 /usr/lib/x86_64-linux-gnu/libGL.so
----------------------
FileNotFoundError: [Errno 2] No such file or directory: 'patchelf': 'patchelf'
方法:
sudo apt-get -y install patchelf
最后
以上就是淡定美女为你收集整理的mujoco填坑的全部内容,希望文章能够帮你解决mujoco填坑所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复