Linux环境下安装python3.6
安装python3.6可能使用的依赖
yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel
下载python3.6编译安装
# wget https://www.python.org/ftp/python/3.6.5/Python-3.6.5.tgz
# tar -xzvf Python-3.6.5.tgz -C /tmp
# cd /tmp/Python-3.6.5/
把Python3.6安装到 /usr/local 目录
# ./configure --prefix=/usr/local
# make
# make install
python3.6程序的执行文件:/usr/local/bin/py
来源:CSDN
作者:主主主主公
链接:https://blog.csdn.net/xhx94/article/details/104017733