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

[pygame] Re: wxPython and pygame on the latest Mac



I got it working by installing python 2.6 from here: http://www.python.org/download/releases/2.6.6/

As its noted pygame doesn't work with the stock 2.6.

Mark

On Sat, Jun 18, 2011 at 2:57 PM, Mark Reed <markreed99@xxxxxxxxx> wrote:
Anyone have wxPython and pygame running on the latest version of the Mac?

Stock 2.6.1 python in 32 bit mode:
- defaults write com.apple.versioner.python Prefer-32-Bit -bool yes
- installed and can use wxPython
- pygame didn't work after installing: pygame-1.9.1release-py2.6-macosx10.5.zip
#      from pygame.base import *
#      ImportError: dlopen(/Library/Python/2.6/site-packages/pygame/base.so, 2): no suitable image found.  Did find:
# /Library/Python/2.6/site-packages/pygame/base.so: mach-o, but wrong architecture

Stock 2.6.1 python in 64 bit mode:
- No wxPython build, and build from source failed.
- didn't try the 64bit pygame build

Installed 2.7:
- wxPython has a 64bit 2.7 build.
- pygame doesn't have a 2.7 build on the Mac?  Can I build pygame myself with 2.7??