致访客
感谢各位一年多的陪伴,因内容调整,本站将于近日迁移到新域名并不再更新主要内容。
特此通知。
感谢各位一年多的陪伴,因内容调整,本站将于近日迁移到新域名并不再更新主要内容。
特此通知。
- python2
- Installation source
yum -y install epel-release
Install pip
yum install python-pip
- Upgrade the installed pip
pip install --upgrade pip
At this point, the pip installation is completed, that is, there is pip in the /usr/bin directory, but note that it is under python2.
- The installation of pip3 in
- python3 comes with pip3, so you only need to add the soft link of pip3.
- There is pip3 in the /usr/bin directory of the previously installed python3 (create a soft link)
ln -s /usr/local/python3/bin/pip3 /usr/bin/pip3
At this point, both pip and pip3 are available~~