2013-07-14 261 views
-1
Traceback (most recent call last): 
    File "Untitled.py", line 1, in <module> 
    import pygame 
    File "/Library/Python/2.7/site-packages/pygame-1.9.1release-py2.7-macosx-10.8-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.8-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.8-intel.egg/pygame/base.so 
    Expected in: flat namespace 
in /Library/Python/2.7/site-packages/pygame-1.9.1release-py2.7-macosx-10.8-intel.egg/pygame/base.so 

嗨,我試圖用python 2.7運行pygame。我已經安裝了所有東西,但是當我導入pygame時,我收到了上述錯誤消息。有誰知道如何解決這一問題?嘗試導入pygame時出現錯誤

回答