gpt4 book ai didi

python - Jupyter 错误 : "No module named jupyter_core.paths"

转载 作者:行者123 更新时间:2023-12-03 15:29:34 33 4
gpt4 key购买 nike

尝试打开 Jupyter Notebook (OSX 10.11.4) 时出现以下错误:

$ jupyter-notebook
Traceback (most recent call last):
File "/usr/local/bin/jupyter-notebook", line 7, in <module>
from notebook.notebookapp import main
File "/Users/geotheory/Library/Python/2.7/lib/python/site-packages/notebook/__init__.py", line 25, in <module>
from .nbextensions import install_nbextension
File "/Users/geotheory/Library/Python/2.7/lib/python/site-packages/notebook/nbextensions.py", line 23, in <module>
from jupyter_core.paths import jupyter_data_dir, jupyter_path, SYSTEM_JUPYTER_PATH
ImportError: No module named jupyter_core.paths

这曾经奏效。知道如何诊断吗?

最佳答案

我遇到了同样的问题,并且能够通过以下步骤解决。

conda create -n py36 python=3.6
conda activate py36
conda install notebook ipykernel jupyterlab

关于python - Jupyter 错误 : "No module named jupyter_core.paths",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36482850/

33 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com