New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error using >>> from OpenGL.GLUT import * #45687
Comments
I get the response shown below when trying to use OpenGL. I have Python Thanks,
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
from OpenGL.GLUT import *
File "build\bdist.win32\egg\OpenGL\GLUT\__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'
>>> __init__.py line 4 is; from OpenGL.GLUT.special import * special.py line 73 is; _base_glutDestroyWindow = GLUT.glutDestroyWindow |
Looks like GLUT in special.py is None. You should ask the PyOpenGL |
As gagenellina said, this problem appears to be with OpenGL, not python. |
You have to put the glut32.dll in Windows/system32 folder. You can get glut32.dll here: http://www.xmission.com/~nate/glut/glut-3.7.6-bin.zip extract the glut32.dll to the Windows/system32 folder and voila. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: