py2exe with opengl

Thomas Heller theller at
Mon Oct 18 10:54:17 CEST 2004

Szucs Szabolcs Laszlo <kotee at> writes:

> Hello,
> I do `python py2exe --exclude=OpenGL --includes=Tkinter'.
> It runs, OK. No error messages. I copy the whole
> OpenGL dir. next to the .exe file.
> When I run the .exe, it don't find the OpenGL module. Why?

I guess you have to insert the directory of the .exe into sys.path -
py2exe doesn't do this itself.


More information about the Python-list mailing list