我正在尝试在我的mac上使用pygame,我使用easy_install安装它,当我尝试编译它时我一直收到同样的错误:
Traceback (most recent call last):
File "App.py", line 1, in <module>
import pygame
File "/Library/Python/2.7/site-packages/pygame-1.9.1release-py2.7-macosx-10.7-intel.egg/pygame/__init__.py", line 95, in <module>
from pygame.base import *
ImportError: dlopen(/Library/Python/2.7/site-packages/pygame-1.9.1release-py2.7-macosx-10.7-intel.egg/pygame/base.so, 2): Symbol not found: _SDL_EnableUNICODE
Referenced from: /Library/Python/2.7/site-packages/pygame-1.9.1release-py2.7-macosx-10.7-intel.egg/pygame/base.so
Expected in: flat namespace
in /Library/Python/2.7/site-packages/pygame-1.9.1release-py2.7-macosx-10.7-intel.egg/pygame/base.so
我不能为我的生活找出问题所在。在此先感谢您的帮助!