Error updating to clause 7.1.10 on Windows 8.1 (python 2.7)

$ 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 

the previous version of pip disappeared, but after that I get this exception:

  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 setuptools update and distribution , also I tried installing pip manualy and got the following:

 $ 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 
+4
source share
4 answers

I ran into the same problem, then I turned to the pip documentation, and that is how they recommended updating pip:

for windows:

 python -m pip install -U pip 

for Linux:

 pip install -U pip 

For more help check Link

+7
source

This bugreport suggests making

easy_install -U pip

+2
source

I went the other way. My first attempt to upgrade using pip install --upgrade pip did not work on my Windows 10 PC. After opening the command prompt (cmd) I first did

 python -m pip install -U pip 

and he gave me

 Collecting pip Using cached pip-8.0.2-py2.py3-none-any.whl Installing collected packages: pip Found existing installation: pip 1.5.2 Uninstalling pip-1.5.2: Successfully uninstalled pip-1.5.2 Successfully installed pip-7.1.0 You are using pip version 7.1.0, however version 8.0.2 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command. 

The funny thing is that I tried to upgrade from paragraph 6.1.1 to 8.0.2. But hey, I'll do this update too. Their proposed team

 python -m pip install --upgrade pip 

completed the final work

 Collecting pip Using cached pip-8.0.2-py2.py3-none-any.whl Installing collected packages: pip Found existing installation: pip 7.1.0 Uninstalling pip-7.1.0: Successfully uninstalled pip-7.1.0 Successfully installed pip-8.0.2 
+1
source

I can’t comment, so I will throw into this: I could not install pip with ANY of the commands until I saw that your message uses "easy_install -U pip"

All other attempts led to

 AttributeError: 'NoneType' object has no attribute 'bytes' 
+1
source

All Articles