Conda环境和Jupiter 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

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

来自分类Dev

Conda环境和Jupyter Notebook,Python 3.9.2

来自分类Dev

Conda环境和Jupyter Notebook,Python 3.9.2

来自分类Dev

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

来自分类Dev

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

来自分类Dev

Python 3.x:Jupyter Notebook 和 Pandas

来自分类Dev

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

来自分类Dev

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

来自分类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 - Python 3 内核

来自分类Dev

如何在Python 3虚拟环境中为iPython Notebook安装pyzmq?

来自分类Dev

Python 3 print([1、2]和3)输出3

来自分类Dev

从 2 到 N 的给定数字应该使每个数字可整除输出为 [(2,4), (2,6),( 2,8),( 3,9),( 3,12), (3,15) .....] 在 Python 2/3 中

来自分类Dev

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

来自分类Dev

如何在Python中将两个数字9和3设为特殊数字?

来自分类Dev

如何转换list1中的list = [1,2,[3,4],[5,6],7,[8,9,10]] = [1,2,3,4,5,6,7,8 ,9,10]在python中?

来自分类Dev

python 2和3从url提取域

来自分类Dev

Python 2和3中的评估范围

来自分类Dev

Python 2和3之间的“目录”差异

来自分类Dev

Powershell中的Python 2和3

来自分类Dev

Powershell中的Python 2和3

来自分类Dev

urllib2和HTTPErrorProcessor Python 3

来自分类Dev

使某些东西与python 3和2兼容

来自分类Dev

Powershell中的Python 2和3

来自分类Dev

python 2 和 3 的目录位置

Related 相关文章

  1. 1

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

  2. 2

    Conda环境和Jupyter Notebook,Python 3.9.2

  3. 3

    Conda环境和Jupyter Notebook,Python 3.9.2

  4. 4

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

  5. 5

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

  6. 6

    Python 3.x:Jupyter Notebook 和 Pandas

  7. 7

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

  8. 8

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

  9. 9

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

  10. 10

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

  11. 11

    除以2和9 PHP

  12. 12

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

  13. 13

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

  14. 14

    Jupyter Notebook - Python 3 内核

  15. 15

    如何在Python 3虚拟环境中为iPython Notebook安装pyzmq?

  16. 16

    Python 3 print([1、2]和3)输出3

  17. 17

    从 2 到 N 的给定数字应该使每个数字可整除输出为 [(2,4), (2,6),( 2,8),( 3,9),( 3,12), (3,15) .....] 在 Python 2/3 中

  18. 18

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

  19. 19

    如何在Python中将两个数字9和3设为特殊数字?

  20. 20

    如何转换list1中的list = [1,2,[3,4],[5,6],7,[8,9,10]] = [1,2,3,4,5,6,7,8 ,9,10]在python中?

  21. 21

    python 2和3从url提取域

  22. 22

    Python 2和3中的评估范围

  23. 23

    Python 2和3之间的“目录”差异

  24. 24

    Powershell中的Python 2和3

  25. 25

    Powershell中的Python 2和3

  26. 26

    urllib2和HTTPErrorProcessor Python 3

  27. 27

    使某些东西与python 3和2兼容

  28. 28

    Powershell中的Python 2和3

  29. 29

    python 2 和 3 的目录位置

热门标签

归档