PyOpenGL ubuntu 14.04: undefined function error
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Hypnotic Puzzle3
--
Chapters
00:00 Pyopengl Ubuntu 14.04: Undefined Function Error
00:43 Accepted Answer Score 6
00:59 Answer 2 Score 2
01:20 Answer 3 Score 0
01:50 Answer 4 Score 0
02:18 Thank you
--
Full question
https://stackoverflow.com/questions/2735...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#python #opengl #ubuntu #pyopengl
#avk47
ACCEPTED ANSWER
Score 6
It is working after I installed the python opengl package
sudo apt-get install python-opengl
Before that I installed it via pip leading to the error above:
pip install PyOpenGL PyOpenGL_accelerate
I still don't know why, but it is working now.
ANSWER 2
Score 2
I know it is a little late. I also encounterd this problem with python 2.7 (32 bits ) in windows. I solved this problem by copying glue32.dll to System32 in C drive and copy glue32.dll into my source file directory. It works well.
ANSWER 3
Score 0
Python 2.7 32bit; Windows 7
This solution works:
After looking around for a solution to a similar problem I ran across this google group that answers the question: https://groups.google.com/forum/#!topic/glumpy-users/aC1NjEHXtEE
There is a problem with OpenGL.GLUT when downloaded as pip from the official source. Uninstall OpenGL using pip, then download OpenGL from http://www.lfd.uci.edu/~gohlke/pythonlibs/
ANSWER 4
Score 0
I had this issue in Ubuntu 20.04, I was about to try installing the package python3-opengl when I saw the dependency on freeglut3. So I tried installing just freeglut3 with
sudo apt install freeglut3
some python packages required libraries from the system, but it doesn't mean that you need to install the python package in the whole system. Therefore just installing the package within the virtual environment and the dependencies on the system should be enough.