简体   繁体   English

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

[英]ModuleNotFoundError: No module named 'jupyter_core'

I am using a windows machine to start Jupyter notebook server on a virtual Ubuntu 16.04.我正在使用 windows 机器在虚拟 Ubuntu 16.04 上启动 Jupyter Notebook 服务器。 I expect a URL as an output which I can paste in inte.net browser and run a.ipynb file.我希望 URL 为 output,我可以将其粘贴到 inte.net 浏览器中并运行 a.ipynb 文件。 jupyter notebook --ip 0.0.0.0 is producing the following error after I have upgraded Python to 3.7.将 Python 升级到 3.7 后, jupyter notebook --ip 0.0.0.0出现以下错误。

*(Earlier to upgradation, the jupyter notebook was working fine) *(升级之前,jupyter notebook 运行良好)

pkj_admin@ip-50-60-0-75:~$  jupyter notebook --ip 0.0.0.0    
Traceback (most recent call last):
  File "/usr/local/bin/jupyter", line 5, in <module>
    from jupyter_core.command import main
ModuleNotFoundError: No module named 'jupyter_core'

Thanks谢谢

I too faced this issue.我也遇到过这个问题。 I solved it using:我使用以下方法解决了它:

pip3 install jupyter

This worked for me这对我有用

sudo apt install python3-jupyter-core

This is a very common issue with jupyter notebook.这是 jupyter notebook 的一个非常常见的问题。 It says jupyter_core not found with current installation packages.它说jupyter_core not found with current installation packages。 It is messed up with paths.它被路径弄乱了。

jupyter_core might be installed locally but it is looking at root or sys python version. jupyter_core可能安装在本地,但它正在查看 root 或 sys python 版本。 Try to uninstall there and reinstall jupyter .尝试在那里卸载并重新安装jupyter

>> python -m pip uninstall jupyter-core;python -m pip uninstall jupyter;

# inside conda env or similar env
>> pip uninstall jupyter
>> pip install jupyter

Ref: How to remove jupyter.参考: 如何删除 jupyter.

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 ModuleNotFoundError:没有名为“pandas”的模块 - Jupyter - ModuleNotFoundError: No module named 'pandas' - Jupyter ModuleNotFoundError:没有名为“skmultilearn”Jupyter 的模块 - ModuleNotFoundError: No module named 'skmultilearn' Jupyter ModuleNotFoundError:Jupyter 中没有名为“matploitlib”的模块 - ModuleNotFoundError: No module named 'matploitlib' in Jupyter jupyter ModuleNotFoundError:没有名为 matplotlib 的模块 - jupyter ModuleNotFoundError: No module named matplotlib ModuleNotFoundError:jupyter 中没有名为“pymysql”的模块 - ModuleNotFoundError: No module named 'pymysql' in jupyter ModuleNotFoundError:没有名为“pandas”的模块(jupyter notebook) - ModuleNotFoundError: No module named 'pandas' (jupyter notebook) ModuleNotFoundError:Jupyter Notebook 中没有名为“tensorflow”的模块 - ModuleNotFoundError: No module named 'tensorflow' In Jupyter Notebook 进入 Jupyter 笔记本:ModuleNotFoundError:没有名为“podman”的模块 - Getting in Jupyter notebook: ModuleNotFoundError: No module named 'podman' ModuleNotFoundError:Jupyter Notebook 上没有名为“pandas”的模块 - ModuleNotFoundError: No module named 'pandas' on Jupyter Notebook ModuleNotFoundError:jupyter 笔记本中没有名为“deeppavlov”的模块 - ModuleNotFoundError: No module named 'deeppavlov' in jupyter notebook
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM