Using PyOpenGL, when calling glutInit, TypeError: NoneType object is not callable

  
                  

When using Python+PyOpenGL on Win7 64bit, an error occurs when calling glutInit():

_base_glutInit( ctypes.byref(count), holder ) TypeError: 'NoneType' object is not callable
< The most common solution is to download glut32.dll and put it in C:\\Windows\\System32, but it won't work.

In Win7 64bit, it should be placed in C:\\Windows\\SysWOW64, and finally OK.

Copyright © Windows knowledge All Rights Reserved