2016-01-23 65 views
0

我收到以下錯誤沒有匹配的分佈:PIP安裝livewires運行時<code>pip install livewires</code>得到發現pygame的

Collecting livewires 
    Using cached LiveWires-2.1.tar.gz 
Collecting pygame (from livewires) 
    Could not find a version that satisfies the requirement pygame (from livewires) (from versions:) 
No matching distribution found for pygame (from livewires) 

我在Mac計算機配蟒蛇2.7.10,而該包無法通過我的編輯器安裝(Pycharm)。

+0

產品/重複的問題http://stackoverflow.com/questions/17869101/unable-to-install-pygame-using-pip –

回答

0

使用緩存LiveWires-2.1.tar.gz

也許有一個與緩存版本的一個問題。嘗試使用--no-cache-dir標誌強制重新下載。

pip install --no-cache-dir livewires 
+0

謝謝你的建議,我重新試圖與「PIP安裝 - -no-cache-dir livewires「,它現在說」下載LiveWires-2.1.tar.gz「而不是」使用緩存的LiveWires-2.1.tar.gz「。雖然仍然收到錯誤信息:找不到一個版本滿足pygame(來自livewires)的要求(來自版本:) 沒有找到pygame的匹配分佈(來自livewires)......這很奇怪 – Liu