CentOS7 使用yum Python3
作者:
Mr_K_K | 来源:发表于
2019-05-15 16:29 被阅读0次[user@kubernetes ~]$ yum install -y epel-release # 安装epel源扩展
..........
..........
[user@kubernetes ~]$ yum install python36 # epel源已经更新到python3.6.8版本
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.cn99.com
* epel: mirrors.aliyun.com
* extras: mirrors.cn99.com
* updates: mirrors.aliyun.com
Resolving Dependencies
--> Running transaction check
---> Package python36.x86_64 0:3.6.8-1.el7 will be installed
--> Processing Dependency: python36-libs(x86-64) = 3.6.8-1.el7 for package: python36-3.6.8-1.el7.x86_64
--> Processing Dependency: libpython3.6m.so.1.0()(64bit) for package: python36-3.6.8-1.el7.x86_64
..........
..........
[user@kubernetes ~]$ curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && python3 get-pip.py && python get-pip.py
# 安装Python2 和 Python3 的pip工具并更新到最新版本
..........
..........
pip官方安装参考:https://pip.pypa.io/en/latest/installing/
本文标题:CentOS7 使用yum Python3
本文链接:https://www.haomeiwen.com/subject/iwtmaqtx.html
网友评论