0

I am trying to install IPython 5.0 for python 2.7 on Windows 10 using pip like this in cmd propmpt:

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

But its failing and showing some error which I dont know how to 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\

Previously I have installed other packages such as numpy using pip command and it worked fine.

Any help is appreciated. Thanks in advance!

1
  • Same error here. Looking forward to some solution. Commented Sep 15, 2017 at 1:32

1 Answer 1

0

First take a look at the answer enter link description here.


I'm trying to install iPython on windows, too. The difference is that I'm targeting the newest version (no matter which). I met with the same error, but before it I got another message:

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

Just download and install the package mentioned above, and retry

pip install ipython

Hooray!

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.