Skip to content Skip to sidebar Skip to footer

Pip: Sys.stderr.write(f"error: {exc}") With Python 3.5

i am having a trouble with pip and pip3. I am trying to install requirements and it shows an error. When i write pip3 or pip --version it show this error. jumphost@jumphost-Virtual

Solution 1:

pip has dropped support for Python 2 and 3.5. You will need to use a version-specific branch, assuming that your Python version is 3.5:

curl -fsSL https://bootstrap.pypa.io/pip/3.5/get-pip.py | python3.5

get-pip.py reference: https://pip.pypa.io/en/stable/installing/#installing-with-get-pip-py

Related: How can I install a legacy PIP version with python 2.6.6 or python 2.7.5?

Better yet, as suggested in the comments, install a newer version of Python that is not end-of-life.

Post a Comment for "Pip: Sys.stderr.write(f"error: {exc}") With Python 3.5"