【问题标题】:How to change kernel when Jupyter notebook shows only one Python当 Jupyter notebook 只显示一个 Python 时如何更改内核
【发布时间】:2023-03-12 17:45:02
【问题描述】:

我需要更改内核以将其指向 Python 的 miniconda 版本,但 Jupyter Notebook 在 Kernel->Change Kernel 下仅显示一个“Python 3”。

知道如何让 Jupyter 笔记本显示安装的附加笔记本吗?

【问题讨论】:

标签: python-3.x jupyter-notebook


【解决方案1】:

你可以看看这个并安装所需的内核

https://ipython.readthedocs.io/en/latest/install/kernel_install.html

【讨论】:

    【解决方案2】:

    如果你想手动配置(添加)Python 2.7 环境,试试这个:

    conda create -n py27 python=2.7
    conda activate py27
    conda install notebook ipykernel
    ipython kernel install --user
    

    【讨论】:

      猜你喜欢
      • 2018-08-04
      • 2019-03-08
      • 2016-12-29
      • 2023-03-08
      • 1970-01-01
      • 2020-02-27
      • 1970-01-01
      • 2019-05-20
      • 1970-01-01
      相关资源
      最近更新 更多