Is ensurepip still a thing?

Chris Barker via Distutils-SIG <[email protected]>
Newsgroups gmane.comp.python.distutils.devel
Message-ID <CALGmxEJu344T9NCPQvQaOcm6MjcBOrXj7VMOP9Hs7h0Lwpix6w@mail.gmail.com>
I'm updating some instructions for my students, in which the first thing I
do is have them run ensurepip:

$ python3 -m ensurepip --upgrade

which resulted in:

$  python3 -m ensurepip --upgrade
Looking in links:
/var/folders/ym/tj87fc850yd6526nbrn14rxm0000gn/T/tmpwc8nd6oj
Requirement already up-to-date: setuptools in
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages
(39.0.1)
Requirement already up-to-date: pip in
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages
(10.0.1)

(this is after a brand-new python 3.7 install on OS-X from python.org)

All good. But then I use pip, and get (after a successful install):

You are using pip version 10.0.1, however version 18.0 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

Huh? shouldn't ensurepip have updated it for me already??

Or should I simply suggest the

pip install --upgrade pip

command and not bother with ensurepip anymore?

BTW -- shouldn't that be:

python3 -m pip install --upgrade pip

to make sure they get the "right" pip?

KInda hard to keep up with the latest ...

Thanks,

-CHB



-- 

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

[email protected]

--
Distutils-SIG mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mm3/mailman3/lists/distutils-sig.python.org/
Message archived at https://mail.python.org/mm3/archives/list/[email protected]/message/5L63NSCWKPPGVL7HKBAZGYPV2VDHYA5P/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.