1 개요[ | ]
- CentOS7 Python 3 설치
Console
Copy
root@centos7:~# python -V
Python 2.7.5
root@centos7:~# pip -V
-bash: pip: command not found
root@centos7:~# python3 -V
-bash: python3: command not found
Console
Copy
root@centos7:~# yum install python3
...
Dependencies Resolved
==============================================================================================================================
Package Arch Version Repository Size
==============================================================================================================================
Installing:
python3 x86_64 3.6.8-13.el7 base 69 k
Installing for dependencies:
python3-libs x86_64 3.6.8-13.el7 base 7.0 M
python3-pip noarch 9.0.3-7.el7_7 updates 1.8 M
python3-setuptools noarch 39.2.0-10.el7 base 629 k
Transaction Summary
==============================================================================================================================
Install 1 Package (+3 Dependent packages)
Total download size: 9.4 M
Installed size: 48 M
Is this ok [y/d/N]: y
Console
Copy
...
Installed:
python3.x86_64 0:3.6.8-13.el7
Dependency Installed:
python3-libs.x86_64 0:3.6.8-13.el7 python3-pip.noarch 0:9.0.3-7.el7_7 python3-setuptools.noarch 0:39.2.0-10.el7
Complete!
Console
Copy
root@centos7:~# python -V
Python 2.7.5
root@centos7:~# pip -V
-bash: pip: command not found
root@centos7:~# python3 -V
Python 3.6.8
root@centos7:~# pip3 -V
pip 9.0.3 from /usr/lib/python3.6/site-packages (python 3.6)
2 같이 보기[ | ]
3 참고[ | ]
편집자 Jmnote Jmnote bot
로그인하시면 댓글을 쓸 수 있습니다.
리눅스 Python 2.7 컴파일 설치 ― …리눅스 Python 2.7 컴파일 설치 ― …리눅스 Python 2.7 컴파일 설치 ― …리눅스 Python 2.7 컴파일 설치 ― …리눅스 Python 2.7 컴파일 설치 ― Jmnote리눅스 Python 2.7 컴파일 설치 ― ㅇㅇㅇ미운코딩새끼 ― 승호 도령미운코딩새끼 ― 불탄고등어미운코딩새끼 ― 김레이미운코딩새끼 ― 호박이미운코딩새끼 ― Junhg0211미운코딩새끼 ― 김왼손미운코딩새끼 ― 용딘이미운코딩새끼 ―Pinkcrimson
유기농냠냠파이썬 ― 호박유기농냠냠파이썬 ― 이에스유기농냠냠파이썬 ― 이승현파이썬 global ― Jmnote파이썬 global ― John Jeong파이썬 global ― Jmnote파이썬 global ― John Jeong파이썬 global ― John Jeong파이썬 global ― John Jeong파이썬 global ― Jmnote파이썬 global ― John Jeong