天天看點

mujoco_py GLEW initalization error: Missing GL version

Run the

install command with -y

flag to quickly install the packages and dependencies.

sudo apt-get install -y libglew-dev

Got these from : https://zoomadmin.com/HowToInstall/UbuntuPackage/libglew-dev

and then

Step 3:

export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libGLEW.so

This worked for me. Hope it works for you.

ok, i run sudo apt-get install -y libglew-dev

and add

export PATH=/usr/local/cuda-10.0/bin${PATH:+:${PATH}}

export LD_LIBRARY_PATH=/usr/local/cuda-10.0/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}

export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libGLEW.so

it works for me!