Jupyter notebook python2 & python3的切换

在kernel选项中只有一个python2的版本,怎么增加python3:

1.先通过命令行(命令提示符)把环境切换为py3 —— activate py3

2.输入以下命令:

python -m ipykernel install --user

3.启动 jupyter notebook

4.新建 —— 出现两个选项python2 & python3

5.通过新建里面的kernel——change kernel也能切换python2 & python3

原文地址:https://www.cnblogs.com/ruyingsuixing/p/9884195.html