2017-07-08 60 views
0

我試圖使用PIP這樣在cmd中propmpt在Windows 10安裝IPython的5.0蟒蛇2.7:得到錯誤給窗戶安裝IPython的5.0 Python 2.7版時10

C:\Python27\Scripts>pip install IPython==5.0 

但它的失敗,並顯示一些錯誤我不知道如何resolve.Error:

Command "c:\python27\python.exe -u -c "import setuptools, tokenize;file='c:\users\vishal\appdata\local\temp\pip-build-sfsbeq\scandir\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record c:\users\vishal\appdata\local\temp\pip-auxpgu-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in c:\users\vishal\appdata\local\temp\pip-build-sfsbeq\scandir\

此前我已經安裝了其它軟件包如numpy的使用PIP命令它工作得很好。

任何幫助表示讚賞。提前致謝!

+0

此處同樣的錯誤。期待一些解決方案。 –

回答

0

首先看看答案enter link description here


我想在Windows上安裝iPython。不同之處在於我的目標是最新版本(不管是哪一個)。我會見了相同的錯誤,但在此之前它我得到另一條消息

error: Microsoft Visual C++ 9.0 is required. Get it from http://aka.ms/vcpython27 

只需下載並安裝上面提到的包,然後重試

pip install ipython 

萬歲!

相關問題