欢迎来到福编程网,本站提供各种互联网专业知识!

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

发布时间:2014-07-03 作者:第十号员工 来源:互联网
在Win764bit上用Python+PyOpenGL时,调用glutInit()即出错:_base_glutInit(ctypes.byref(count),holder)TypeError:'NoneType'objectisnotcallable说的最多的解决方法是下载glut32.dll放到C:WindowsSystem32,但是根本不行。在Win764bit中,应该放到C:Win

在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了。

相关推荐