[Distutils] Pip upgrade

Ned Deily nad at python.org
Fri Apr 13 11:27:05 EDT 2018


On Apr 13, 2018, at 09:44, Nick Coghlan <ncoghlan at gmail.com> wrote:
> 
> On 13 April 2018 at 23:02, Niharika Jakhar <niharika1883 at gmail.com> wrote:
>> Thank you for your reply. I am using LINUX.
> 
> Ah, then that means the resoluation unfortunately be distro dependent :(
> 
> If you're using the distro provided pip or pip3 installation, then
> you'll need to do a distro level package update to get the newer
> version (assuming your distro has made the newer version available).
> 
> If you're using a user level installation, then you'll need to run
> "python -m pip install --upgrade --user pip" to update the user level
> pip installation for Python 2.
> 
> If you're using virtual environments, then I would have expected the
> suggested command to work, but you'll need to run it in each affected
> virtual environment.

Upgrading pip may not help if the underlying problem is a version of the OpenSSL libraries that is too old.  Try adding -v to the pip install command to get more information:

pip install --upgrade -v pip

--
  Ned Deily
  nad at python.org -- []



More information about the Distutils-SIG mailing list