2017-07-08 64 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 

万岁!

相关问题