// I have a syntax error when i would to run pip after upgrade
You are using pip version 7.1.0, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
After he doesn't work
// Traceback (most recent call last):
File "/usr/local/bin/pip", line 9, in <module>
load_entry_point('pip==9.0.1', 'console_scripts', 'pip')()
File "/usr/local/lib/python3.2/dist-packages/setuptools-18.1-py3.2.egg/pkg_resources/__init__.py", line 558, in load_entry_point
File "/usr/local/lib/python3.2/dist-packages/setuptools-18.1-py3.2.egg/pkg_resources/__init__.py", line 2682, in load_entry_point
File "/usr/local/lib/python3.2/dist-packages/setuptools-18.1-py3.2.egg/pkg_resources/__init__.py", line 2355, in load
File "/usr/local/lib/python3.2/dist-packages/setuptools-18.1-py3.2.egg/pkg_resources/__init__.py", line 2361, in resolve
File "/usr/local/lib/python3.2/dist-packages/pip/__init__.py", line 21, in <module>
from pip._vendor.requests.packages.urllib3.exceptions import DependencyWarning
File "/usr/local/lib/python3.2/dist-packages/pip/_vendor/requests/__init__.py", line 66, in <module>
from .models import Request, Response, PreparedRequest
File "/usr/local/lib/python3.2/dist-packages/pip/_vendor/requests/models.py", line 856
http_error_msg = u'%s Client Error: %s for url: %s' % (self.status_code, reason, self.url)
^
SyntaxError: invalid syntax
as far as i can tell you ran the pip update on python3.2 on the system level
a) pip no longer supports python 3.2 as python 3.2 is end of life since a while now
b) you should never update the system level pip using pip since its managed by the package manager
Yup, pip does not support 3.2 anymore and this breaks horribly, sorry about that.
This is a duplicate of closed #3390 and hopefully python 3.3 should be better handled with pip 9+.
To reinstall a 3.2 compatible version of pip, you can use: https://bootstrap.pypa.io/3.2/get-pip.py (cf https://pip.pypa.io/en/stable/installing/#installing-with-get-pip-py).
Most helpful comment
Yup, pip does not support 3.2 anymore and this breaks horribly, sorry about that.
This is a duplicate of closed #3390 and hopefully python 3.3 should be better handled with pip 9+.
To reinstall a 3.2 compatible version of pip, you can use: https://bootstrap.pypa.io/3.2/get-pip.py (cf https://pip.pypa.io/en/stable/installing/#installing-with-get-pip-py).