Home >Operation and Maintenance >CentOS >How to install pip on centos

How to install pip on centos

藏色散人
藏色散人Original
2020-05-18 11:52:478323browse

How to install pip on centos

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.

How to install pip on centos

pip is not in the default yum source of centos, you need to install the epel source

How to install pip on centos

Clear the epel source first after installing it Historical cache and then build a new cache

yum clean all
yum makecache

How to install pip on centos

Use yum install python-pip to install

How to install pip on centos

Enter y and return Car

How to install pip on centos

python2-pip.noarch 0:8.1.2-5.el7 has been installed successfully

How to install pip on centos

directly again Enter pip, and many prompts will pop up, indicating that the pip tool is installed successfully

How to install pip on centos

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn