Conda环境和Jupyter Notebook,Python 3.9.2

B无限

我的Conda环境没有出现在我的Jupiter笔记本中。我已经在这里查看了所有(出色的)对话,但是它似乎不适用于python 3.9.2。

我尝试了以下方法,但没有用:

conda install jupyter
conda install ipykernel
conda install nb_conda

然后,当我尝试以下操作时conda install nb_conda_kernels,出现以下错误:

Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: | 
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed                                                                                                                                                                                                      

UnsatisfiableError: The following specifications were found
to be incompatible with the existing python installation in your environment:

Specifications:

  - nb_conda_kernels -> python[version='>=2.7,<2.8.0a0|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|>=3.8,<3.9.0a0']

Your python: python=3.9

If python is on the left-most side of the chain, that's the version you've asked for.
When python appears to the right, that indicates that the thing on the left is somehow
not available for the python version you are constrained to. Note that conda will not
change your python version to a different minor version unless you explicitly specify
that.

如何在python 3.9.2的jupyter笔记本中显示conda环境?谢谢!

戈登·白

尝试使用conda-forge频道,例如:

$ conda install -c conda-forge ipykernel

jupyter如果此conda env只是要添加的内核,则无需安装,如果您要这样做。

之后,您需要在该conda env中运行此命令:

$ python -m ipykernel install --user --name vanilla --display-name "Python 3 (vanilla)"

根据您的喜好替换名称和显示名称。

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

Conda环境和Jupyter Notebook,Python 3.9.2

来自分类Dev

Anaconda:IPython / Jupyter Notebook中的Python 3和2

来自分类Dev

Jupyter Notebook - Python 3 内核

来自分类Dev

Conda环境和Jupiter Notebook,Python 3.9.2

来自分类Dev

将终端用于Jupyter Notebook时将python2更改为python3

来自分类Dev

Python 3.x:Jupyter Notebook 和 Pandas

来自分类Dev

将Conda环境与Jupyter Notebook链接

来自分类Dev

在Jupyter Notebook中使用conda环境

来自分类Dev

Jupyter Notebook内核与Conda环境不同

来自分类Dev

字典错误-Jupyter Notebook-Python 3

来自分类Dev

解压缩文件时出错-Jupyter Notebook-Python 2.x -3.x-AI Notebook -Google Cloud Platform

来自分类Dev

Python 2 和 Python 3 与虚拟环境混合错误?

来自分类Dev

为什么在激活Python 3 Conda环境后仍然使用系统默认的Python 2解释器?

来自分类Dev

在Fedora Linux上的Jupyter中运行Python 2和3

来自分类Dev

在iPython / Jupyter Notebook中安装多个Python 3内核

来自分类Dev

Jupyter Notebook Python 3中的int(input())麻烦

来自分类Dev

Python3:无法将 CSV 文件导入我的 Jupyter Notebook -- 请参阅下面的特定错误和屏幕截图

来自分类Dev

int a [9]和a [3] [3]之间的区别

来自分类Dev

如何从 python 3-jupyter notebook 切换到 python 2.7

来自分类Dev

如何在 AWS EMR 中将 Jupyter notebook 设置为 Python3 而不是 Python2.7

来自分类Dev

python自定义排序列表1/2/3 /../ 9/10

来自分类Dev

python自定义排序列表1/2/3 /../ 9/10

来自分类Dev

除以2和9 PHP

来自分类Dev

为Python2.X和3.X设置Django环境?

来自分类Dev

1 2 3 4 7 8 9 p和退格键不起作用

来自分类Dev

Jupyter Notebook和虚拟环境的奇怪行为

来自分类Dev

如何使conda虚拟环境持久且可用于Jupyter Notebook之类的工具?

来自分类Dev

如何使conda虚拟环境持久且可用于Jupyter Notebook之类的工具?

来自分类Dev

在Jupyter Notebook中使用Python虚拟环境

Related 相关文章

  1. 1

    Conda环境和Jupyter Notebook,Python 3.9.2

  2. 2

    Anaconda:IPython / Jupyter Notebook中的Python 3和2

  3. 3

    Jupyter Notebook - Python 3 内核

  4. 4

    Conda环境和Jupiter Notebook,Python 3.9.2

  5. 5

    将终端用于Jupyter Notebook时将python2更改为python3

  6. 6

    Python 3.x:Jupyter Notebook 和 Pandas

  7. 7

    将Conda环境与Jupyter Notebook链接

  8. 8

    在Jupyter Notebook中使用conda环境

  9. 9

    Jupyter Notebook内核与Conda环境不同

  10. 10

    字典错误-Jupyter Notebook-Python 3

  11. 11

    解压缩文件时出错-Jupyter Notebook-Python 2.x -3.x-AI Notebook -Google Cloud Platform

  12. 12

    Python 2 和 Python 3 与虚拟环境混合错误?

  13. 13

    为什么在激活Python 3 Conda环境后仍然使用系统默认的Python 2解释器?

  14. 14

    在Fedora Linux上的Jupyter中运行Python 2和3

  15. 15

    在iPython / Jupyter Notebook中安装多个Python 3内核

  16. 16

    Jupyter Notebook Python 3中的int(input())麻烦

  17. 17

    Python3:无法将 CSV 文件导入我的 Jupyter Notebook -- 请参阅下面的特定错误和屏幕截图

  18. 18

    int a [9]和a [3] [3]之间的区别

  19. 19

    如何从 python 3-jupyter notebook 切换到 python 2.7

  20. 20

    如何在 AWS EMR 中将 Jupyter notebook 设置为 Python3 而不是 Python2.7

  21. 21

    python自定义排序列表1/2/3 /../ 9/10

  22. 22

    python自定义排序列表1/2/3 /../ 9/10

  23. 23

    除以2和9 PHP

  24. 24

    为Python2.X和3.X设置Django环境?

  25. 25

    1 2 3 4 7 8 9 p和退格键不起作用

  26. 26

    Jupyter Notebook和虚拟环境的奇怪行为

  27. 27

    如何使conda虚拟环境持久且可用于Jupyter Notebook之类的工具?

  28. 28

    如何使conda虚拟环境持久且可用于Jupyter Notebook之类的工具?

  29. 29

    在Jupyter Notebook中使用Python虚拟环境

热门标签

归档