[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 를 먼저 설치하세요~
'Python' 카테고리의 다른 글
[Python] urlopen ImportError (0) | 2019.08.19 |
---|---|
[Python] requests.get 한글깨짐 (0) | 2019.08.19 |
[Python] 이미지 파일의 MIME TYPE 알아내는 방법 (0) | 2018.12.26 |
[CentOS] 7.x Apache + Python 연동 방법 (0) | 2018.12.21 |
[Python] sitemap.xml 생성 방법 (0) | 2018.12.20 |