python - pip upgrade fails - "No files were found to uninstall" -


something goes wrong pip installation on mac os x 10.11.3.

when use pip -v following:

***:desktop ***$ pip -v pip 8.0.2 /library/python/2.7/site-packages (python 2.7) ***:desktop ***$  

but when use pip list this:

***:desktop ***$ pip list ... pip (7.1.2) ... using pip version 7.1.2, version 8.0.2 available. should consider upgrading via 'pip install --upgrade pip' command. 

and when try update pip happens:

***:~ ***$ sudo -h pip install --upgrade pip collecting pip   downloading pip-8.0.2-py2.py3-none-any.whl (1.2mb)     100% |████████████████████████████████| 1.2mb 344kb/s  installing collected packages: pip   found existing installation: pip 7.1.2     can't uninstall 'pip'. no files found uninstall. installed pip-7.1.2 using pip version 7.1.2, version 8.0.2 available. should consider upgrading via 'pip install --upgrade pip' command. 

any idea how can figure out goes wrong / how solve mess?

can download pip 8.0.2 github install commandline?

$ wget https://github.com/pypa/pip/archive/8.0.2.zip $ unzip 8.0.2.zip $ cd pip-8.0.2/ $ python setup.py install 

Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -