Anaconda 图标无法通过单击和 Jupyter notbook 错误打开

时间:2021-05-03 08:34:46

标签: python jupyter-notebook anaconda

我是 Anaconda 的新用户,因为我想使用 Jupyter-notebook到目前为止,我都遇到了问题。

安装 Anaconda 后,我每次都必须在 Anaconda Prompt 中写注释 anaconda-navigator 才能启动应用

enter image description here

因为直接在我的笔记本电脑上双击 anaconda-navigator 图标根本没有给我任何响应。 什么也没有发生... 只有这些“提示”图标可以通过单击打开。其他图标,例如“Jupyter Notebook”、“Spyder”、“Anaconda Navigator”不起作用。 有人知道为什么会这样吗? enter image description here 然后我启动 Anaconda 工作环境并单击“启动 Jupyter-notbook-scipt”。错误来了。

enter image description here

Traceback (most recent call last):
File "C:\Users\mreal\anaconda3\Scripts\jupyter-notebook-script.py", line 6, in 
from notebook.notebookapp import main
File "C:\Users\mreal\anaconda3\lib\site-packages\notebook\notebookapp.py", line 51, in 
from zmq.eventloop import ioloop
File "C:\Users\mreal\AppData\Roaming\Python\Python38\site-packages\zmq\__init__.py", line 55, in 
from zmq import backend
File "C:\Users\mreal\AppData\Roaming\Python\Python38\site-packages\zmq\backend\__init__.py", line 40, in 
reraise(*exc_info)
File "C:\Users\mreal\AppData\Roaming\Python\Python38\site-packages\zmq\utils\sixcerpt.py", line 34, in reraise
raise value
File "C:\Users\mreal\AppData\Roaming\Python\Python38\site-packages\zmq\backend\__init__.py", line 27, in 
_ns = select_backend(first)
File "C:\Users\mreal\AppData\Roaming\Python\Python38\site-packages\zmq\backend\select.py", line 28, in select_backend
mod = __import__(name, fromlist=public_api)
File "C:\Users\mreal\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\mreal\AppData\Roaming\Python\Python38\site-packages\zmq\backend\cython\__init__.py)

我已经在 Anaconda Prompt 中尝试了 方法 1。但它再次给我错误。我不确定是否应该在 Anaconda Prompt 中写评论。但我不知道其他地方可以为 Anaconda 编写教师代码。 我应该在哪里写这些评论?

conda remove zeromq
conda install zeromq

enter image description here

遵循那个错误,我检查了我是否没有安装包 install,但没有名为 install 的包

enter image description here

然后我尝试了方法 2,但我得到了同样的错误。因此,我该如何安装 package install

conda uninstall pyzmq 
conda install pyzmq 
conda install jupyter 

enter image description here

0 个答案:

没有答案
相关问题