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 같이 보기[ | ]
편집자 Jmnote
로그인하시면 댓글을 쓸 수 있습니다.
- 분류 댓글:
- CentOS 7 (2)
CentOS7 MariaDB 설치 ― 전귀현CentOS7 MariaDB 설치 ― Jmnote