PyOpenGL TypeError: 'NoneType' object is not callable PyOpenGL TypeError: 'NoneType' object is not callable python python

PyOpenGL TypeError: 'NoneType' object is not callable


I was using Python 2.7.3 on Windows 7 64-bit and had a problem causing the same symptoms as Noob.

But the above PyOpenGL reinstallation solution did not help me.

I try a longshot - installation of freeglut - and it helped!

I used Windows MSVC 2.8.0 binary package from here and dropped both 32-bit and 64-bit DLLs to my 32-bit (c:\Windows\SysWOW64) and 64-bit (C:\Windows\System32) dirs accordingly.


I installed PyOpenGL-3.0.2b2 on Python 3.2 using the setup.py install (with administrator privileges), it came out with the same error as the OP.The setup script didn't copy the DLLS folder, so you have to copy it yourselfthe whole folder \PyOpenGL-3.0.2b2\OpenGL\DLLS.
This worked for me, hope it helps anyone else.


in linux os you should install freeglut3 in ubuntu 12.04 :

 sudo apt-get install freeglut3