@Fede managed to bypass that by modifing the .bashrc file
export GDK_GL=gles export PYOPENGL_PLATFORM=glx
export GDK_GL=gles
export PYOPENGL_PLATFORM=glx