安装python3.6并安装pip3.6

1、安装python3.6

sudo add-apt-repository ppa:jonathonf/python-3.6
sudo apt-get update
sudo apt-get install python3.6

2、安装pip3.6

wget https://bootstrap.pypa.io/get-pip.py
sudo python3.6 get-pip.py

在安装scipy时,会出现以下错误,可执行 pip3.6 install --ignore-installed scipy就可以规避了

Cannot uninstall 'scipy'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall

你可能感兴趣的:(安装python3.6并安装pip3.6)