CentOS7 Python2용 pip19 설치

1 개요[ | ]

CentOS7 Python2용 pip19 설치
Console
Copy
root@localhost:~# pip -V
bash: pip: command not found
Console
Copy
root@localhost:~# cat /etc/centos-release
CentOS Linux release 7.5.1804 (Core)
Console
Copy
root@localhost:~# python -V
Python 2.7.5
Console
Copy
root@localhost:~# curl -LO https://bootstrap.pypa.io/get-pip.py
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1734k  100 1734k    0     0  1060k      0  0:00:01  0:00:01 --:--:-- 1060k
Console
Copy
root@localhost:~# python get-pip.py
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Collecting pip
  Downloading https://files.pythonhosted.org/packages/00/b6/9cfa56b4081ad13874b0c6f96af8ce16cfbc1cb06bedf8e9164ce5551ec1/pip-19.3.1-py2.py3-none-any.whl (1.4MB)
     |████████████████████████████████| 1.4MB 876kB/s
Collecting setuptools
  Downloading https://files.pythonhosted.org/packages/f9/d3/955738b20d3832dfa3cd3d9b07e29a8162edb480bf988332f5e6e48ca444/setuptools-44.0.0-py2.py3-none-any.whl (583kB)
     |████████████████████████████████| 583kB 2.6MB/s
Collecting wheel
  Downloading https://files.pythonhosted.org/packages/00/83/b4a77d044e78ad1a45610eb88f745be2fd2c6d658f9798a15e384b7d57c9/wheel-0.33.6-py2.py3-none-any.whl
Installing collected packages: pip, setuptools, wheel
Successfully installed pip-19.3.1 setuptools-44.0.0 wheel-0.33.6
Console
Copy
root@localhost:~# pip -V
pip 19.3.1 from /usr/lib/python2.7/site-packages/pip (python 2.7)

2 같이 보기[ | ]

  • CentOS7 MariaDB 설치
    안녕하세요! 질문이 있어서 글을 남기게 됩니다!! http://yum.mariadb.org/10.3 로 이동하면 안에 centos7,centos73,centos74 와 같이 나뉘어져 있더라고요!! 이게 버전을 명칭하는거 같은데...(제 생각으로는..) 버전을 명칭하는게 맞는지?! 전귀현
  • CentOS7 MariaDB 설치
    CentOS 7.6에서 MariaDB 10.4을 설치해보니 잘 됩니다. repo를 추가하고 yum install MariaDB하면 가장 적절한 패키지를 찾아서 설치해줍니다. (이게 yum이라는 패키지 매니저의 역할이죠). 결과적으로 설치된 rpm패키지명은 MariaDB-server-10J Jmnote