What does this error mean and how do I resolve it?
vbMark
vbmark at my-deja.com
Thu Sep 21 16:27:05 EDT 2000
OS: Win98
Python: 2.0b1
Script and Error:
>>> def go():
from opengl import *
def redraw(o):
gl.ClearColor(0, 0, 1, 0)
gl.Clear(GL_COLOR_BUFFER_BIT)
o = Opengl(width = 200, height = 200, double = 1)
o.redraw = redraw
o.pack(side = 'top', expand = 1, fill = 'both')
o.mainloop()
>>> go()
Traceback (innermost last):
File "<pyshell#11>", line 1, in ?
go()
File "<pyshell#9>", line 2, in go
from opengl import *
NameError: Case mismatch for module name opengl
(filename c:\python20\Opengl.pyc)
FYI:
The Python Tk-OpenGL instructions say, "First copy al *.c, *.h files in
the src subdirectory to the Modules subdirectory of the Python
distribution." As there was no modules subdirctory I'd created one.
Thank you,
Mark
Sent via Deja.com http://www.deja.com/
Before you buy.
More information about the Python-list
mailing list