py2exe with opengl

  • Thread starter Szucs Szabolcs Laszlo
  • Start date
S

Szucs Szabolcs Laszlo

Hello,

I do `python setup.py 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?

THX
 
T

Thomas Heller

Szucs Szabolcs Laszlo said:
Hello,

I do `python setup.py 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.

Thomas
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,209
Messages
2,571,088
Members
47,686
Latest member
scamivo

Latest Threads

Top