debian9升级安装到python3.6和pip3.6

安装步骤

1.添加testing源
vim /etc/apt/sources.list
deb http://mirrors.163.com/debian/ testing main

2.更新源
apt-get update

3.安装python3.6
apt-get install python3.6 python3.6-dev python3.6-distutils

4.安装pip3.6
wget https://bootstrap.pypa.io/get-pip.py
python3.6 get-pip.py