MENU

Centos7 软件源安装Python3.6环境

July 17, 2018 • Read: 289 • Linux

之前一直是编译安装,装的多了就感觉麻烦,写个脚本还要上传。。。

随意找了一下,发现软件源里有Python。记录一下

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

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

安装Python3.6

yum install python36u -y

创建python3连接符

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

安装pip3

yum install python36u-pip -y

创建pip3链接符

ln -s /bin/pip3.6 /bin/pip3
Tags: None
Archives QR Code
QR Code for this page
Tipping QR Code