|
|
Log in / Subscribe / Register

advising users on how to upgrade pip

advising users on how to upgrade pip

Posted Apr 14, 2018 15:14 UTC (Sat) by sumanah (guest, #59891)
In reply to: My only gripe... by zdzichu
Parent article: A new package index for Python

I genuinely welcome a better suggestion for a one-liner command-line invocation (for use in things like tweets and announcement emails) that gets the user the latest pip (see the opening comment here on why and how the whole of pip is contained in that file), verifies the SSL certificate, and works on all supported versions of Mac OS X and approximately all Linux distros (including headless systems).

For audiences and contexts like this one, perhaps this suggestion is better:

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py

# Inspect get-pip.py for any malevolence. Then run the following:

python get-pip.py


to post comments


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds