2014-01-15 42 views
4

我想在Mac 10.9.1上安裝PIL我收到一條錯誤消息,我找不到在這裏找到。我已經安裝了Python27,畫中畫,Django的,現在我嘗試安裝:錯誤由Mac上的sudo pip安裝pil 10.9.1

sudo pip install pil 

消息我收到:

Downloading/unpacking PIL 
    Could not find any downloads that satisfy the requirement PIL 
    Some externally hosted files were ignored (use --allow-external PIL to allow). 
Cleaning up... 
No distributions at all found for PIL 
Storing debug log for failure in /Users/xxx/Library/Logs/pip.log 

人有一個想法如何解決這個錯誤,請?

在Xcode上我已經檢查過是否安裝了命令行工具,但它沒有出現在Xcode-> preferences-> Download下。

非常感謝您的幫助

回答

8

有PIL的一個分支叫Pillow那將最有可能解決您的問題。

+0

非常感謝您在安裝枕頭後的幫助嗎?我需要再次安裝pil還是枕頭是pil的替代品? – DilMac

+0

嗨阿爾瓦羅我接受和欣賞任何幫助,我新的Mac我已經安裝枕頭後,LaundroMat寄給我他的​​味精,但試圖再次安裝祿,但問題仍然存在,因此問是否更換弼,確保不要嘗試再次安裝pil。謝謝 – DilMac

+0

沒有必要重新安裝PIL;枕頭完全取代它。 – LaundroMat