PyOpenGL + Py2Exe Woes

Ok, I’ve been trying to make an executable of my game all morning but I can’t make it work. PyOpenGL 3.x has always been a problem because of the setuptools, but in 3.0.0b1 I had a working solution, sort of. Now, however, I can’t get that to work and am just running into this error over and over:

“RuntimeError: Unable to find an implementation for the ‘win32’ (‘nt’) platform”

The only things I could find online are similar problems with no responses or solutions.

Does anybody have any advice?

Tags: py2exe

Comments

08. Jul 2008 · 08:28 UTC
Can you use pyopengl 2.x?
Pascal Giard
11. Nov 2008 · 17:40 UTC
Some trickery à la FretsOnFire 1.3.110…

First copy the .egg:

cp -Lr $(PYTHON_LIBS)/site-packages/PyOpenGL-3.0.0a5-py2.5.egg data/

cp -Lr $(PYTHON_LIBS)/site-packages/setuptools-0.6c8-py2.5.egg data/
Anonymous
02. Jun 2009 · 13:46 UTC
a
Anonymous
02. Jun 2009 · 13:47 UTC
Replace the OpenGL/platforms in dist with the OpenGL/platforms in your sitepackages.