sh 将ipython / jupyter内核添加到python环境中

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sh 将ipython / jupyter内核添加到python环境中相关的知识,希望对你有一定的参考价值。

pyenv virtualenv [source_env] [new_env]
pyenv activate [new_env]
pip install ipykernel
python -m ipykernel install [--user] [--name <machine-readable-name>] [--display-name <"User Friendly Name">]
# The --name value is used by Jupyter internally. These commands will overwrite any existing kernel with the same name. --display-name is what you see in the notebook menus.

以上是关于sh 将ipython / jupyter内核添加到python环境中的主要内容,如果未能解决你的问题,请参考以下文章