centos安装mujoco,报错/tmp/pip-install-0rm_rw8c/mujoco-py/mujoco_py/gl/osmesashim.c:1:23: 致命错误:GL/osmesa.

/tmp/pip-install-0rm_rw8c/mujoco-py/mujoco_py/gl/osmesashim.c:1:23: 致命错误:GL/osmesa.h:没有那个文件或目录

报这个错的解决办法是:

sudo yum   install mesa*

就ok了

你可能感兴趣的:(centos安装mujoco,报错/tmp/pip-install-0rm_rw8c/mujoco-py/mujoco_py/gl/osmesashim.c:1:23: 致命错误:GL/osmesa.)