#11988: Add a note to the Python pages regarding upgrading pip
--------------------+------------------------
 Reporter:  renodr  |       Owner:  blfs-book
     Type:  task    |      Status:  new
 Priority:  normal  |   Milestone:  8.5
Component:  BOOK    |     Version:  SVN
 Severity:  normal  |  Resolution:
 Keywords:          |
--------------------+------------------------

Comment (by bdubbs):

 I was able to test this with

   sudo python3 -m pip install --force pip

 and everything seemed to work fine, but running

   sudo python2 -m pip install --force pip

 returned: You are using pip version 9.0.3, however version 19.1 is
 available.
 You should consider upgrading via the 'pip install --upgrade pip' command.

 'pip install --upgrade pip' did work but did delete pip3.  I note that the
 only difference between pip2 and pip3 is the shbang line has python2 or
 python3 respectively.

 As an aside, if I now run 'sudo python2 -m pip install --force pip', I
 get:

 DEPRECATION: Python 2.7 will reach the end of its life on January 1st,
 2020. Please upgrade your Python as Python 2.7 won't be maintained after
 that date. A future version of pip will drop support for Python 2.7.

 I'll need to think about wording a bit more.  Suggestions welcome.

--
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/11988#comment:1>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to