简体   繁体   English

我正在尝试运行 jupyter notebook。 但收到以下错误:

[英]I am trying to run jupyter notebook. but getting the following error:

I am trying to run jupyter notebook.我正在尝试运行 jupyter notebook。 but getting the following error:但收到以下错误:

> Traceback (most recent call last):   File
> "c:\users\lenovo\appdata\local\programs\python\python37\lib\runpy.py",
> line 193, in _run_module_as_main
>     "__main__", mod_spec)   File "c:\users\lenovo\appdata\local\programs\python\python37\lib\runpy.py",
> line 85, in _run_code
>     exec(code, run_globals)   File "C:\Users\lenovo\AppData\Local\Programs\Python\Python37\Scripts\jupyter-notebook.EXE\__main__.py",
> line 5, in <module>   File
> "c:\users\lenovo\appdata\local\programs\python\python37\lib\site-packages\notebook\notebookapp.py",
> line 47, in <module>
>     from zmq.eventloop import ioloop   File "C:\Users\lenovo\AppData\Roaming\Python\Python37\site-packages\zmq\__init__.py",
> line 47, in <module>
>     from zmq import backend   File "C:\Users\lenovo\AppData\Roaming\Python\Python37\site-packages\zmq\backend\__init__.py",
> line 40, in <module>
>     reraise(*exc_info)   File "C:\Users\lenovo\AppData\Roaming\Python\Python37\site-packages\zmq\utils\sixcerpt.py",
> line 34, in reraise
>     raise value   File "C:\Users\lenovo\AppData\Roaming\Python\Python37\site-packages\zmq\backend\__init__.py",
> line 27, in <module>
>     _ns = select_backend(first)   File "C:\Users\lenovo\AppData\Roaming\Python\Python37\site-packages\zmq\backend\select.py",
> line 28, in select_backend
>     mod = __import__(name, fromlist=public_api)   File "C:\Users\lenovo\AppData\Roaming\Python\Python37\site-packages\zmq\backend\cython\__init__.py",
> line 6, in <module>
>     from . import (constants, error, message, context, ImportError: cannot import name 'constants' from 'zmq.backend.cython'
> (C:\Users\lenovo\AppData\Roaming\Python\Python37\site-packages\zmq\backend\cython\__init__.py)

Try:尝试:

pip uninstall pyzmq
pip install pyzmq

暂无
暂无

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

相关问题 我正在尝试在 Jupyter 中运行以下命令,但它显示形状错误 - I am trying to run the following in Jupyter but it is showing shape error 我正在尝试在 Jupyter Notebook 中启动 Spark 会话并收到以下错误 - I am trying to start a Spark Session in Jupyter Notebook and get the following error 我已经在 jupyter notebook 中安装了 BeautifulSoup4。 尝试使用“from bs4 import BeautifulSoup”时出现错误 - I've installed BeautifulSoup4 in jupyter notebook. Error comes up when trying to use "from bs4 import BeautifulSoup 尝试在 jupyter 笔记本中打印 json 数据时,出现 JSON 解码错误? - While trying to print the json data in jupyter notebook, I am getting JSON decode error? 我正在尝试使用Jupyter Notebook在Python 3.7.0中显示图像。 为什么不起作用? - I'm trying to display an image in Python 3.7.0 using Jupyter Notebook. Why isn't it working? 在Jupyter Notebook中连接到SQL DB时出现错误 - I am getting an error while connecting to an sql DB in Jupyter Notebook 为什么在运行 jupyter notebook 时出现错误? - Why am I getting an error while running jupyter notebook? 尝试运行 jupyter notebook 时导入错误 - Import error while trying to run jupyter notebook 无法打开 Jupyter Notebook。 出现错误“导入 libzmq 时 DLL 加载失败:找不到指定的模块。” - Can not open Jupyter Notebook. getting error “ DLL load failed while importing libzmq: The specified module could not be found.” 当我尝试在 VSC 上运行 jupyter 笔记本时,未显示张量板 output - tensor board output is not shown when I am trying to run the jupyter notebook on VSC
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM