1. 安装conda
https://mirrors.tuna.tsinghua.edu.cn/anaconda/ 下载并安装。
2. 安装jupyter
(1)在ananconda主环境安装:pip install jupyter
(2)运行:jupyter notebook
(3)配置默认根目录: jupyter notebook --generate-config
打开配置文件设置 {c.NotebookApp.notebook_dir} 的值。
(4)配置内核:
在python虚拟环境中运行:
python -m pip install ipykernel
python -m ipykernel install --name [yourkernelname]
(5)回到jupyter安装目录查看可用的内核 : jupyter kernelspec list
(others)删除内核: jupyter kernelspec remove [yourkernelname]
conda 里的 jupyter
原文:https://www.cnblogs.com/wxiaoli/p/10648251.html