[root@ivps ~]# pip
-bash: pip: command not found
[root@ivps ~]# yum install python-pip
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile * base: mirror.kakao.com * epel: mirrors.aliyun.com * extras: mirror.kakao.com * remi-php72: mirror.innosol.asia * remi-safe: mirror.innosol.asia * updates: mirror.kakao.com
Resolving Dependencies
--> Running transaction check
---> Package python2-pip.noarch 0:8.1.2-10.el7 will be installed
--> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size
================================================================================
Installing: python2-pip noarch 8.1.2-10.el7 epel 1.7 M Transaction Summary
================================================================================
Install 1 Package Total download size: 1.7 M
Installed size: 7.2 M
Is this ok [y/d/N]: y
Downloading packages:
python2-pip-8.1.2-10.el7.noarch.rpm | 1.7 MB 00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction Installing : python2-pip-8.1.2-10.el7.noarch 1/1 Verifying : python2-pip-8.1.2-10.el7.noarch 1/1 Installed: python2-pip.noarch 0:8.1.2-10.el7 Complete!
패키지가 없다고 나오면 epel-release 를 먼저 설치하세요~
이 글은 ivps.tistory.com 에서 RSS로 가져온 글입니다. 원본보기