2014-02-16 32 views
9

我想我的Mac上安裝pygame的,但我得到的錯誤Pygame的安裝失敗,因爲系統的Python 2.7的要求,即使我有Python 2.7版

pygame的1.1release不能安裝在這個磁盤上。

pygame的要求系統的Python 2.7安裝

pygame requires System Python 2.7 to install

我跑蟒蛇2.7

$ which python 
/usr/bin/python 
$ python --version 
Python 2.7.5 

我從http://pygame.org/download.shtml下載pygame的和所選擇的文件pygame的,1.9.1release- python.org-32bit-py2.7-macosx10.3.dmg我正在運行osx 10.9.1

爲什麼我在運行Python 2.7時收到此錯誤,以及如何在mac上成功安裝pygame?

+0

如果你有64位python,這個問題可能會發生,因爲pygame只支持32位python。你有沒有嘗試在[本文]中建議的修復(http://stackoverflow.com/questions/13300585/trouble-installing-pygame-on-mac-osx)? –

回答