How to install pip on centos?
Enter pip directly. If the prompt command is not found, the pip tool is not installed on this machine.
pip is not in the default yum source of centos, you need to install the epel source
Clear the epel source first after installing it Historical cache and then build a new cache
yum clean all yum makecache
Use yum install python-pip to install
Enter y and return Car
python2-pip.noarch 0:8.1.2-5.el7 has been installed successfully
directly again Enter pip, and many prompts will pop up, indicating that the pip tool is installed successfully
Recommended: "centos tutorial"
The above is the detailed content of How to install pip on centos. For more information, please follow other related articles on the PHP Chinese website!