调用glutInit时TypeError: 'NoneType' object is not callable

02-22

在Win7 64bit上用Python+PyOpenGL时,调用glutInit()即出错:

_base_glutInit( ctypes.byref(count), holder )

TypeError: 'NoneType' object is not callable

说的最多的解决方法是下载glut32.dll放到C:WindowsSystem32,但是根本不行。

在Win7 64bit中,应该放到C:WindowsSysWOW64,终于OK了。