强化学习MUJOCO的使用

问题

1、window尝试

2、linux尝试

1)安装

官网下载安装包,解压后放在目录:
获取许可证明,分别将 和 放在 路径下。

2)设置系统环境

首先尝试了修改.bashec文件,但使用pycharm运行失败提示 ,最后从pycharm里直接添加环境,菜单栏RUN->Edit Configurations...->(file name)->Environment->Environment variables,

Run/Debug Configurations

在弹出的对话框中添加环境变量:
Environment Variables

3)其他错误

显示找不到osmesa.h文件,且command 'gcc' failed with exit status 1,

sudo apt-get install libosmesa6-dev

安装完成后错误消失

新错误:‘patchelf'
参考

image.png
sudo apt-get update
sudo apt install patchelf

参考

https://blog.csdn.net/m0_38059938/article/details/82994738
https://www.cnblogs.com/sddai/p/11050947.html
https://blog.csdn.net/Farm_Coder/article/details/90295093
https://blog.csdn.net/u012939880/article/details/100897108
https://blog.csdn.net/windowsyun/article/details/88583657
https://github.com/openai/mujoco-py/issues/253

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。