ubuntu16.04 安装python3.6

如果使用下面的被拒绝:

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

请使用:

sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
sudo apt-get install python3.6

好吧,仅仅做这一步,根本就不够,还要安装pip和python3.6-dev:

#安装pip
wget https://bootstrap.pypa.io/get-pip.py  --no-check-certificate
python3 get-pip.py 
#安装python3.6-dev

你可能感兴趣的:(python,pycharm,pytorch)