using pyopengl 3.0.0b1 with py2exe

S

Sébastien Ramage

Hi !

How can I make an exe that use the new pyopengl 3.0.0b1 ???
I use py2exe 0.6.6

with the 3.0.0a6 version I have make it working by copying the egg and
by
forcing loading it at the start of the app
but it doesn't work with this version

py2exe correctly detect it and include it in the app but I get this

Traceback (most recent call last):
File "texas.py", line 8, in <module>
File "zipextimporter.pyo", line 82, in load_module
File "OpenGL\GL\__init__.pyo", line 2, in <module>
File "zipextimporter.pyo", line 82, in load_module
File "OpenGL\raw\GL\__init__.pyo", line 6, in <module>
File "zipextimporter.pyo", line 82, in load_module
File "OpenGL\raw\GL\constants.pyo", line 7, in <module>
File "zipextimporter.pyo", line 82, in load_module
File "OpenGL\platform\__init__.pyo", line 20, in <module>
ImportError: No module named pkg_resources

if I add an unzipped copy of setuptools in my app folder, py2exe
include
pkg_resources but I get this

Traceback (most recent call last):
File "texas.py", line 8, in <module>
File "zipextimporter.pyo", line 82, in load_module
File "OpenGL\GL\__init__.pyo", line 2, in <module>
File "zipextimporter.pyo", line 82, in load_module
File "OpenGL\raw\GL\__init__.pyo", line 6, in <module>
File "zipextimporter.pyo", line 82, in load_module
File "OpenGL\raw\GL\constants.pyo", line 7, in <module>
File "zipextimporter.pyo", line 82, in load_module
File "OpenGL\platform\__init__.pyo", line 57, in <module>
File "OpenGL\platform\__init__.pyo", line 53, in _load
RuntimeError: Unable to find an implementation for the 'win32' ('nt')
platform


if anybody ahs a solution....

Seb
 

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

No members online now.

Forum statistics

Threads
473,965
Messages
2,570,148
Members
46,710
Latest member
FredricRen

Latest Threads

Top