我从pygame-1.9.1release-python.org-32bit-py2.7-macosx10.3.dmg
安装了pygame。我有Python 2.7.6和OSX 10.9.2。出于某种原因,当我这样做,我得到一个ImportError
:Python pygame mac导入
>>> import pygame
Traceback (most recent call last):
File "<pyshell#2>", line 1, in <module>
import pygame
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/__init__.py", line 95, in <module>
from pygame.base import *
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/base.so, 2): no suitable image found. Did find:
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/base.so: no matching architecture in universal wrapper
我怎样才能得到pygame的工作?有没有办法让Python 3.4的pygame?我目前同时安装了Python 2.7.6和Python 3.4。