一:
下载地址:https://wiki.python.org/moin/BeginnersGuide/Download
二:安装
1、Windows
①运行安装文件
②勾选所有
③更改路径
④完成
⑤验证
2、Linux
①安装依赖包
yum groupinstall -y Development tools
yum install -y zlib-devel bzip2-devel spenssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel
②安装Python3.5.2
yum install wget #用来下载的一个工具
wget
https://www.python.org/ftp/python/3.5.2/Python-3.5.2.tar.xz
xz -d Python-3.5.2.tar.xz
tar xvf Python-3.5.2.tar
cd Python-3.5.2
./configure -- prefix=/usr/local
make && make install