I am interrested in knowing the recommended way to install pip3 for python3.6 (as of today, may 2018) on current version of centos7 (7.5.1804) and the accepted answer of How
There is now a python3-pip
package in the CentOS 7 base repository as of 2019-08-22. There is no longer a need for third-party repositories or packages.
Installing python3-pip
will also install libtirpc
, python3
, python3-libs
, and python3-setuptools
:
yum install --assumeyes python3-pip
You can now verify the version (yes, it is old, but it's what is coming from the base repository):
$ pip3 --version
pip 9.0.3 from /usr/lib/python3.6/site-packages (python 3.6)
If you don't want to stray from the files provided by the python3-pip
package, and you don't want to see warnings about pip being old, see https://stackoverflow.com/a/46288945/534275 for silencing the messages.