This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: Error using >>> from OpenGL.GLUT import *
Type: Stage:
Components: Windows Versions: Python 2.5
Status: closed Resolution: rejected
Dependencies: Superseder:
Assigned To: Nosy List: ggenellina, igorcamp, neuralsensor, nnorwitz
Priority: normal Keywords:

Created on 2007-10-27 22:33 by neuralsensor, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (4)
msg56866 - (view) Author: Dale (neuralsensor) Date: 2007-10-27 22:33
I get the response shown below when trying to use OpenGL. I have Python 
2.5, PIL-1.1.6, and PyOpenGL 3.0 installed.
Any help would be greatly appreciated.


>>> from OpenGL.GLUT import *

Traceback (most recent call last):
  File "<pyshell#0>", line 1, in <module>
    from OpenGL.GLUT import *
  File "build\bdist.win32\egg\OpenGL\GLUT\", line 4, in 
  File "build\bdist.win32\egg\OpenGL\GLUT\", line 73, in 
AttributeError: 'NoneType' object has no attribute 'glutDestroyWindow'
>>> line 4 is;

from OpenGL.GLUT.special import * line 73 is;

_base_glutDestroyWindow = GLUT.glutDestroyWindow
msg56867 - (view) Author: Gabriel Genellina (ggenellina) Date: 2007-10-27 23:28
Looks like GLUT in is None. You should ask the PyOpenGL 
author/community for help. This is not a Python bug.
msg56989 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2007-10-31 06:16
As gagenellina said, this problem appears to be with OpenGL, not python.
 OpenGL is not maintained here.  You'll have to open a bug report with them.
msg71827 - (view) Author: Igor do Valle Campbell (igorcamp) Date: 2008-08-24 05:27
You have to put the glut32.dll in Windows/system32 folder.

You can get glut32.dll here:

extract the glut32.dll to the Windows/system32 folder and voila.
Date User Action Args
2022-04-11 14:56:27adminsetgithub: 45687
2008-08-24 05:27:21igorcampsetnosy: + igorcamp
type: compile error ->
messages: + msg71827
2007-10-31 06:16:38nnorwitzsetstatus: open -> closed
resolution: rejected
messages: + msg56989
nosy: + nnorwitz
2007-10-27 23:28:51ggenellinasetnosy: + ggenellina
messages: + msg56867
2007-10-27 22:33:15neuralsensorcreate