参考
https://blog.csdn.net/foxbuster/article/details/69945341
多个python环境
假设之前的jupyter安装在python2.x环境中
输入 pip3 install ipykernel
然后输入 python3 -m ipykernel install –user
如果之前jupyter安装在python3.x环境中
输入 pip2 install ipykernel
然后输入 python2 -m ipykernel install –user
如果现在想将virtualenv或者conda安装的虚拟环境添加至jupyter中
使用 activate 命令激活虚拟环境
输入 pip install ipykernel
然后输入 python -m ipykernel install –user