[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] py2exe problems



I've been trying a ton of things with PyOpenGL 3.0 - installing setup
tools unzipped, pyopengl unzipped, with py2exeeggs.py and without - in
the end I keep getting the same error with the 3.0 beta:
RuntimeError: Unable to find an implementation for the 'win32' ('nt') platform

If I try to go back to the alpha I get:
TypeError: No array-type handler for type <class 'ctypes.c_ulong'>
(value: c_ulong(0L)) registered

At the moment I'm thinking that PyOpenGL 2.0 is for me (it's compiled
C code, no ctypes), all it needs is a python 2.5 windows installer, so
I'm gonna try and tackle that (I want to be able to build exe's for
pyweek...)

On Sun, Mar 16, 2008 at 3:49 PM, Ian Mallett <geometrian@xxxxxxxxx> wrote:
> In this case, the error I get, using the py2exeeggs.py is:
>
> C:\Users\Ian\Desktop\OpenGL Test Program\dist>OpenGLTestProgram.exe
>
> Traceback (most recent call last):
>   File "OpenGL Test Program.py", line 2, in <module>
>    File "py2exeeggs.pyc", line 43, in loadEggs
> AttributeError: 'module' object has no attribute 'Environment'
>