Centos7 yum 安装python3.6

安装必要软件

sudo yum update -y
sudo yum install -y yum-utils
sudo yum groupinstall development

安装python3.6

sudo yum install https://centos7.iuscommunity.org/ius-release.rpm
sudo yum install python36u
sudo yum install python36u-pip
sudo yum install python36u-devel

创建venv

python3.6 -m venv venv
. venv/bin/activate
pip install dops
pip install -r requirements.txt
*****
Written by ysicing on 27 December 2017