Cannot execute pip install command - ERROR: IPython requires Python version 2.7 or 3.3 or higher

I installed pip today on centos 6.4 and I tried installing python libraries via pip.

But I got the following error.

ERROR: IPython requires Python version 2.7 or 3.3 or above.
Complete output from command python setup.py egg_info:
ERROR: IPython requires Python version 2.7 or 3.3 or above.

----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_username/ipython
Storing debug log for failure in /home/username/.pip/pip.log

Although the error message says that I need Python version 2.7 or higher, I already installed python 2.7.

$ which python
/usr/local/bin/python
$ python --version
Python 2.7.8

I'm not sure if this caused this problem, that I have python2.6 in "usr / bin / python".

$ sudo python --version
Python 2.6.6
+4
source share
2 answers

Pythons, pip. , , , pip Python 2.6. Python 2.7, Python 2.7. Python 2.6, pip, 2.7.

, , OP :

curl -kL raw.github.com/pypa/pip/master/contrib/get-pip.py | python
+3

, ( ), "sudo pip install", , -sudo.

0

All Articles