Closed hdadong closed 1 year ago
For those who are using a headless linux box without X-display, use this:
export MUJOCO_GL=osmesa
export MJLIB_PATH=$HOME/.mujoco/mujoco200/bin/libmujoco200.so
export MJKEY_PATH=$HOME/.mujoco/mujoco200/mjkey.txt
export LD_LIBRARY_PATH=$HOME/.mujoco/mujoco200/bin:$LD_LIBRARY_PATH
export MUJOCO_PY_MJPRO_PATH=$HOME/.mujoco/mujoco200/
export MUJOCO_PY_MJKEY_PATH=$HOME/.mujoco/mujoco200/mjkey.txt
For more details, refer to denisyarats/dmc2gym#4
For those who are using a headless linux box without X-display, use this:
export MUJOCO_GL=osmesa export MJLIB_PATH=$HOME/.mujoco/mujoco200/bin/libmujoco200.so export MJKEY_PATH=$HOME/.mujoco/mujoco200/mjkey.txt export LD_LIBRARY_PATH=$HOME/.mujoco/mujoco200/bin:$LD_LIBRARY_PATH export MUJOCO_PY_MJPRO_PATH=$HOME/.mujoco/mujoco200/ export MUJOCO_PY_MJKEY_PATH=$HOME/.mujoco/mujoco200/mjkey.txt
For more details, refer to denisyarats/dmc2gym#4
Due to mujoco now is installed by pip, so we just need to add first line into ~/.bashrc. and you should refresh it to activate modifications.
source ~/.bashrc
Hi, I've recently come across the following error, on a machine with Nvidia driver version: 515.76, CUDA Version: 11.7, when trying to use the vision-based Safety Gymnasium in a headless Ubuntu 20.04 remote server. The same exact code was running properly on a machine with display.
Any idea how to fix the issue?
The program I run is as follows:
which produced errors: