如何选择哪个jupyter notebook 运行?
How to choose which jupyter notebook to run?
我已经为 Python 3(通过 pip 安装)和 Python 2(通过 anaconda stack 安装,其中包括 scipy 和 scikit-learn 以及类似的科学工具安装了 jupyter notebook ).
当我在控制台中 运行 jupyter notebook
时,它会打开,但我只能选择 Python 2 内核。
在终端中尝试输入:
python3 -m pip install ipykernel
还有这个:
python3 -m ipykernel install --user
然后重启jupyter和anaconda就可以select其他内核版本了
我已经为 Python 3(通过 pip 安装)和 Python 2(通过 anaconda stack 安装,其中包括 scipy 和 scikit-learn 以及类似的科学工具安装了 jupyter notebook ).
当我在控制台中 运行 jupyter notebook
时,它会打开,但我只能选择 Python 2 内核。
在终端中尝试输入:
python3 -m pip install ipykernel
还有这个:
python3 -m ipykernel install --user
然后重启jupyter和anaconda就可以select其他内核版本了