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
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