I am trying to install PyOpenGL and so far have tried the following ways:
- $ pip install PyOpenGL PyOpenGL_accelerate
- $ sudo python2.7 -m pip install PyOpenGL PyOpenGL_accelerate
- Some variations of the above...
- Installation from source.
Unfortunately I still can't run the following imports:
from OpenGL.GL import *
from OpenGL.GLUT import *
from OpenGL.GLU import *
I am getting the error message:
unable to detect undefined names
Am I missing something? Do I need to install more packages?
Do I need to get OpenGLContext seperately? If so, how do I install that, since
pip install PyDispatcher PyVRML97 OpenGLContext
doesn't work either.
Any help would be much appreciated!
Try sudo apt-get install python-opengl