2017-07-07 80 views
1

我試圖在Linux上安裝節目,我得到以下錯誤:如何解決IPython的(顯示)安裝錯誤

sudo pip install show 
... 
Collecting ipython (from show) 
Downloading ipython-6.1.0.tar.gz (5.1MB) 
100% |████████████████████████████████| 5.1MB 89kB/s 
Complete output from command python setup.py egg_info: 
Traceback (most recent call last): 
    File "<string>", line 20, in <module 

---------------------------------------- 
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-xYQAaZ/ipython 

有沒有這樣的文件/目錄的/ tmp/PIP-集結xYQAaZ/ipython所以我沒有更多的細節。任何想法如何進一步調試或解決安裝問題?我在Python 2.6.6上。我能夠在沒有任何問題的情況下使用python 2.6.6在另一個linux系統上安裝show。

回答

0

我有類似的問題安裝一個Python包(具有相同的錯誤代碼)。最終工作的是安裝輪子。首先做pip install wheel安裝車輪的支持,然後你可以從here下載車輪文件,並使用pip install ____

0

IPython的6 supports Python 3.3+ only安裝。
要安裝受支持的IPython版本,應首先使用pip install "ipython<6"

請注意,如果pip是最新的,則不需要此條件。