首页 > 代码库 > CentOS7 搭建python3 Django环境

CentOS7 搭建python3 Django环境

yum install gcc

yum install openssl-devel -y

yum install sqlite-devel -y

wget https://www.python.org/ftp/python/3.5.2/Python-3.5.2.tar.xz

tar xvf Python-3.5.2.tar.xz

cd Python-3.5.2

./configure

make 

make install

pip3 install django

 

CentOS7 搭建python3 Django环境