debian9升級安裝到python3.6和pip3.6

安裝步驟python

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

2.更新源
apt-get updatevim

3.安裝python3.6
apt-get install python3.6 python3.6-dev python3.6-distutilsip

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

相關文章
相關標籤/搜索