"no matching architecture in universal wrapper" when importing pygame

While what Sylvain said above is correct, this error is often caused by differences in bit rate between python and pygame. It is possible that redownloading it only helps because you get the correct distribution that time. To tell the bit rate of python, do this:

import platform
platform.architecture()

If it is 32 bit, get a 32 bit distribution of pygame. Otherwise, get a 64 bit distribution.


Removing the old pygame install and reinstalling did the trick for me. I'm running Mac OS 10.7

sudo rm -Rf /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame

Then copy and install pygame from:

http://www.pygame.org/ftp/pygame-1.9.2pre-py2.7-macosx10.7.mpkg.zip