[PyOpenGL-Users] GLUT import error
Brought to you by:
mcfletch
From: <lit...@gm...> - 2007-05-15 08:51:26
|
I have installed PyOpenGL-3.0.0a6 in Python2.5 by using "python setup.py install". However, when I was using it: >>> 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? Thank you. ShenLei |