ModuleNotFoundError:没有名为“jupyter_core”的模块

pkj*_*pkj 6 python ubuntu virtual-machine jupyter-notebook

我正在使用 Windows 机器在虚拟 Ubuntu 16.04 上启动 Jupyter 笔记本服务器。我期望一个 URL 作为输出,我可以将其粘贴到互联网浏览器中并运行 .ipynb 文件。jupyter notebook --ip 0.0.0.0 is producing the following error after I have upgraded Python to 3.7.

\n

*(升级之前,jupyter笔记本工作正常)

\n
pkj_admin@ip-50-60-0-75:~$ \xc2\xa0jupyter notebook --ip 0.0.0.0 \xc2\xa0 \xc2\xa0\nTraceback (most recent call last):\n\xc2\xa0 File "/usr/local/bin/jupyter", line 5, in <module>\n\xc2\xa0 \xc2\xa0 from jupyter_core.command import main\nModuleNotFoundError: No module named 'jupyter_core'\n
Run Code Online (Sandbox Code Playgroud)\n

谢谢

\n

小智 0

我也面临这个问题。我使用以下方法解决了它:

pip3 install jupyter
Run Code Online (Sandbox Code Playgroud)