[wxPython-users]GLCanvas cannot be loaded in Demo
甜瓜
littlesweetmelon at gmail.com
Tue May 15 01:57:26 PDT 2007
When I was trying to run the Demo code of GLCanvas, I got an error:
GLCanvas.py Line 15 from OpenGL.GLUT import *
__init__.py Line 4
special.py line 73 AttributeError: 'NoneType' object has no attribute
'glutDestroyWindow'
I have installed PyOpenGL-3.0.0a6 in Python2.5 by using "python
setup.py install". Again, when I was using GLUT:
>>> import OpenGL.GLUT
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "d:\python25\lib\site-packages\pil\__init__.py", line 4, in <module>
#
File "build\bdist.win32\egg\OpenGL\GLUT\special.py", line 73, in <module>
AttributeError: 'NoneType' object has no attribute 'glutDestroyWindow'
Is this a bug? What should I do for correctly importing GLUT? Actually,
Thank you.
ShenLei
More information about the wxpython-users
mailing list