无法从 Anaconda Navigator (Windows) 启动 Jupyter Note

Posted

技术标签:

【中文标题】无法从 Anaconda Navigator (Windows) 启动 Jupyter Note【英文标题】:Unable to launch Jupyter Note from Anaconda Navigator(Windows) 【发布时间】:2020-12-09 14:58:49 【问题描述】:

我使用此代码从命令提示符启动 anaconda

anaconda-navigator 

但是,当我尝试从 Anaconda 启动 Jupyter Notebook 时,我收到此错误代码。有人可以帮忙吗?

C:\Users\mxixq\anaconda3\lib\site-packages\setuptools\distutils_patch.py:25: UserWarning: Distutils was imported before Setuptools. This usage is discouraged and may exhibit undesirable behaviors or errors. Please use Setuptools' objects directly or at least import Setuptools first.
warnings.warn(
Traceback (most recent call last):
File "C:\Users\mxixq\anaconda3\Scripts\jupyter-notebook-script.py", line 6, in 
from notebook.notebookapp import main
File "C:\Users\mxixq\anaconda3\lib\site-packages\notebook\notebookapp.py", line 49, in 
from zmq.eventloop import ioloop
File "C:\Users\mxixq\AppData\Roaming\Python\Python38\site-packages\zmq\__init__.py", line 50, in 
from zmq import backend
File "C:\Users\mxixq\AppData\Roaming\Python\Python38\site-packages\zmq\backend\__init__.py", line 40, in 
reraise(*exc_info)
File "C:\Users\mxixq\AppData\Roaming\Python\Python38\site-packages\zmq\utils\sixcerpt.py", line 34, in reraise
raise value
File "C:\Users\mxixq\AppData\Roaming\Python\Python38\site-packages\zmq\backend\__init__.py", line 27, in 
_ns = select_backend(first)
File "C:\Users\mxixq\AppData\Roaming\Python\Python38\site-packages\zmq\backend\select.py", line 28, in select_backend
mod = __import__(name, fromlist=public_api)
File "C:\Users\mxixq\AppData\Roaming\Python\Python38\site-packages\zmq\backend\cython\__init__.py", line 6, in 
from . import (constants, error, message, context,
ImportError: cannot import name 'constants' from partially initialized module 'zmq.backend.cython' (most likely due to a circular import) (C:\Users\mxixq\AppData\Roaming\Python\Python38\site-packages\zmq\backend\cython\__init__.py)

【问题讨论】:

安装 jupyter 之前是否正常工作 【参考方案1】:

使用 2019 版 Anaconda

【讨论】:

以上是关于无法从 Anaconda Navigator (Windows) 启动 Jupyter Note的主要内容,如果未能解决你的问题,请参考以下文章

Anaconda Navigator无法启动[关闭]

无法更新到 Anaconda Navigator 1.10.0 (MacOS)

为啥我无法使用 Anaconda Navigator 安装/搜索 pygame 包?

Anaconda:Navigator启动时发生意外错误

Anaconda Navigator 启动 报错check_hostname requires server_hostname 全网解决方案汇总

重复安装Anaconda,打开Anaconda-Navigator出现Permission Denied问题解决