Python3.5更新至Python3.6后安装jupyter notebook

由于与torchvision版本相适应,Ubuntu16.04将安装了Python3.6,发现在Python3.5环境下安装的库文件已不再适用,很多的库都要重新安装,将Python3的默认版本设置为Python3.6。

由于要使用jupyter notebook,原本的jupyter notebook是在Python3.5条件下进行安装的,因此不在适用,安装指令为:

1、python3 -m pip install --upgrade pip //更新pip
2、python3 -m pip install jupyter   //安装jupyter

此时输入:

jupyter-notebook

便可适用

**参考博客:**https://www.jianshu.com/p/e832d12d034b

你可能感兴趣的:(python)