为什么在Jupyter中未列出某些内核?

时间:2018-12-22 14:52:35

标签: python jupyter-notebook ipython

Jupyter中未列出我的一个内核,我想知道如何在其中显示它。

运行jupyter kernelspec list给出

Available kernels:
  python3       /usr/local/etc/jupyter/kernels/python3
  haskell       /Users/Rax/Library/Jupyter/kernels/haskell
  qiskit_env    /Users/Rax/Library/Jupyter/kernels/qiskit_env
  python2       /usr/local/share/jupyter/kernels/python2

但是在Jupyter中,我没有列出python3

enter image description here

为什么python3不见了?

另外:

  • 根据运行jupiter-notebook的位置,此行为似乎有所不同:如果从新的“终端”窗口启动,则会获得完整列表。
  • 显示缩写列表时,我无法切换到某些内核(即使它们已在Jupyter中列出)。

对于上下文jupyter --paths给出

config:
    /Users/Rax/.jupyter
    /usr/local/Cellar/python/3.7.1/Frameworks/Python.framework/Versions/3.7/etc/jupyter
    /usr/local/etc/jupyter
    /etc/jupyter
data:
    /usr/local/etc/jupyter
    /Users/Rax/Library/Jupyter
    /usr/local/Cellar/python/3.7.1/Frameworks/Python.framework/Versions/3.7/share/jupyter
    /usr/local/share/jupyter
    /usr/share/jupyter
runtime:
    /Users/Rax/Library/Jupyter/runtime

0 个答案:

没有答案