Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: GLEW initalization error: Missing GL version #44

Closed
datonefaridze opened this issue Oct 22, 2022 · 3 comments
Closed

ERROR: GLEW initalization error: Missing GL version #44

datonefaridze opened this issue Oct 22, 2022 · 3 comments

Comments

@datonefaridze
Copy link

Hi, I followed tutorials accoding to this documentation,
I have exported lines in my: .bashrc, .zshrc (i am using .zsh):

export LD_LIBRARY_PATH=/home/dato/.mujoco/mujoco210/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/nvidia
export PATH="$LD_LIBRARY_PATH:$PATH"
export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libGLEW.so

when i run: python examples/train_bc_rnn.py --debug to test my installation it gives me an error: ERROR: GLEW initalization error: Missing GL version
when i check my environmental variables in .zsh/bash terminal, LD_PRELOAD env variable is present, I don't know how to proceed forward

@amandlek
Copy link
Member

Can you give us more information on what platform and machine you're running on? To make sure we can try to reproduce your issue. This definitely seems like a robosuite installation issue, so it might also be useful to raise an issue there.

@datonefaridze
Copy link
Author

@amandlek It's ubuntu 20.04, I think deleting the linke export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libGLEW.so helped, but don't know why (I don't know exactly because when i rebooted it worked, so not sure which operation did the job(i tried many things), but it should be export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libGLEW.so)

@amandlek
Copy link
Member

So I believe that this is due to the mujoco-py library - the LD_PRELOAD export needs to be there when using on-screen rendering, but it should be unset when running off-screen rendering (which is what we do during training runs to log videos)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants