$ C:\Python27> pip install --upgrade pip
You are using pip version 6.0.8, however version 7.1.0 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Collecting pip from https://pypi.python.org/packages/py2.py3/p/pip/pip-7.1.0-py2.py3-none-any.whl#md5=b108384a762825ec20
345bb9b5b7209f
Using cached pip-7.1.0-py2.py3-none-any.whl
Installing collected packages: pip
Found existing installation: pip 6.0.8
Uninstalling pip-6.0.8:
Successfully uninstalled pip-6.0.8
previous version of pip is gone but i get this exception after that :
Rolling back uninstall of pip
Exception:
Traceback (most recent call last):
File "c:\python27\lib\site-packages\pip-6.0.8-py2.7.egg\pip\basecommand.py", line 232, in main status = self.run(options, args)
.
.
.
AttributeError: 'NoneType' object has no attribute 'bytes'
I have upgrade setuptools and distribute , also i tried to install pip manualy and got this :
$ C:\Python27> pip install 7.1.10
You are using pip version 6.0.8, however version 7.1.0 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Collecting 7.1.10
Could not find any downloads that satisfy the requirement 7.1.10
No distributions at all found for 7.1.10
I was facing the same issue , then i consulted the pip documentation and this is how they have recommended to upgrade pip :
for Windows :
python -m pip install -U pip
for Linux :
pip install -U pip
For further reference check thisLink
This bugreport suggests doing
easy_install -U pip
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With