在Win7 64bit上用Python+PyOpenGL時(shí),調(diào)用glutInit()即出錯(cuò):
_base_glutInit( ctypes.byref(count), holder )
TypeError: 'NoneType' object is not callable
說的最多的解決方法是下載glut32.dll放到C:WindowsSystem32,但是根本不行。
在Win7 64bit中,應(yīng)該放到C:WindowsSysWOW64,終于OK了。
新聞熱點(diǎn)
疑難解答