云服务器免费试用

Centos7 yum安装Python3.6环境

服务器知识 0 368

配置好Python3.6和pip3
安装EPEL和IUS软件源

yum install epel-release -y yum install https://centos7.iuscommunity.org/ius-release.rpm -y
12 yum install epel-release -yyum install https://centos7.iuscommunity.org/ius-release.rpm -y

安装Python3.6

Centos7 yum安装Python3.6环境

yum install python36u -y
1 yum install python36u -y

创建python3连接符

ln -s /bin/python3.6 /bin/python3
1 ln -s /bin/python3.6 /bin/python3

安装pip3

yum install python36u-pip -y
1 yum install python36u-pip -y

创建pip3链接符

ln -s /bin/pip3.6 /bin/pip3
1 ln -s /bin/pip3.6 /bin/pip3

 

声明:本文内容由网友自发贡献,本站不承担相应法律责任。对本内容有异议或投诉,请联系2913721942@qq.com核实处理,我们将尽快回复您,谢谢合作!
若转载请注明出处: Centos7 yum安装Python3.6环境
本文地址: https://solustack.com/236.html

相关推荐:

网友留言:

我要评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。