On Tue, Aug 30, 2011 at 10:45 PM, Russell E. Owen
<rowen@xxxxxx> wrote:
A colleague is building a Windows application using py2exe. He recently
upgraded from Python 2.5 and pygame 1.9.1 to Python 2.7 and pygame
1.9.2pre.win32.py2.7 (I'm guessing 1.9.2a0 but I can't confirm that).
This application only plays sounds, so it only imports pygame.mixer
However, after upgrading Python and pygame the application fails with an
import error, saying it can't find pygame._view.
For now he's hacked around the problem by explicitly importing
pygame._view in the code. However, surely this should not be necessary?
I hope this is a fixable bug in 1.9.2 prerelease
The import error seems to be because py2exe is not detecting the _view
module. There is probably some hack we can do to fix this (like
importing it manually somewhere so py2exe can find it).
I've committed this change, so maybe it will work now without the manual import in the app.
@Lenard: do you think this would be ok to do?
-- Russell
P.S. I never got any response to my offer of a binary installer of 1.9.1
for Mac Python 2.7. It's still available here:
<http://www.astro.washington.edu/users/rowen/python/pygame-1.9.1release-p
ython.org-32bit-py2.7-macosx10.3.dmg>
and it would be great if you folks were willing to serve it.