Anaconda下安装Jupyter Notebook

pip安装jupyter

因为在Anaconda安装的环境名是Pytorch,所以切换到环境下的目录里面
Anaconda下安装Jupyter Notebook
选择清华源,下载快

pip install jupyter -i https://pypi.tuna.tsinghua.edu.cn/simple

Anaconda下安装Jupyter Notebook

配置jupyter-notebook

生成jupyter配置文件

jupyter notebook --generate-config

Anaconda下安装Jupyter Notebook
生成的jupyter配置文件
Anaconda下安装Jupyter Notebook
另外再新建JupyterCode文件夹(新建配置路径的文件夹)
Anaconda下安装Jupyter Notebook
修改配置文件(利用Notepad++快速查找)

记得把前面’’ # ''去掉
Anaconda下安装Jupyter Notebook

运行jupyter-notebook

jupyter notebook

Anaconda下安装Jupyter Notebook

Anaconda下安装Jupyter Notebook

参考资料

1.为什么要使用 Jupyter? https://www.zhihu.com/question/37490497

2.Jupyter Notebook安装:https://www.cnblogs.com/zlslch/p/6984403.html

3.Jupyter Notebook基本操作:https://www.jianshu.com/p/87ed39c4e01b

上一篇:将已有的虚拟环境配置到jupyter notebook中使用


下一篇:在 Jupyter Notebook 中使用 Anaconda 的虚拟环境