Anaconda Navigator(Windows 10)的问题

时间:2019-09-28 17:29:45

标签: python anaconda jupyter spyder

[我找到了答案]

我无法从Anaconda启动应用程序。我只能使用以下命令行启动Anaconda Navigator:

anaconda-navigator
直接在Anaconda的命令提示符中输入

(有效)。我无法从桌面上的快捷方式启动Anaconda Navigator。

然后,当我在Anaconda Navigator中并尝试启动应用程序时,出现错误消息。

例如,当启动Spyder时:

Traceback (most recent call last):
File "C:\Users\ASUS\Anaconda3\Scripts\spyder-script.py", line 10, in 
sys.exit(main())
File "C:\Users\ASUS\Anaconda3\lib\site-packages\spyder\app\start.py", line 186, in main
from spyder.app import mainwindow
File "C:\Users\ASUS\Anaconda3\lib\site-packages\spyder\app\mainwindow.py", line 90, in 
from qtpy import QtWebEngineWidgets # analysis:ignore
File "C:\Users\ASUS\Anaconda3\lib\site-packages\qtpy\QtWebEngineWidgets.py", line 22, in 
from PyQt5.QtWebEngineWidgets import QWebEnginePage
ValueError: PyCapsule_GetPointer called with incorrect name

启动Jupyter Notebook时:

Traceback (most recent call last):
File "C:\Users\ASUS\Anaconda3\Scripts\jupyter-notebook-script.py", line 6, in 
from notebook.notebookapp import main
File "C:\Users\ASUS\AppData\Roaming\Python\Python37\site-packages\notebook\notebookapp.py", line 47, in 
from zmq.eventloop import ioloop
File "C:\Users\ASUS\AppData\Roaming\Python\Python37\site-packages\zmq\__init__.py", line 47, in 
from zmq import backend
File "C:\Users\ASUS\AppData\Roaming\Python\Python37\site-packages\zmq\backend\__init__.py", line 40, in 
reraise(*exc_info)
File "C:\Users\ASUS\AppData\Roaming\Python\Python37\site-packages\zmq\utils\sixcerpt.py", line 34, in reraise
raise value
File "C:\Users\ASUS\AppData\Roaming\Python\Python37\site-packages\zmq\backend\__init__.py", line 27, in 
_ns = select_backend(first)
File "C:\Users\ASUS\AppData\Roaming\Python\Python37\site-packages\zmq\backend\select.py", line 28, in select_backend
mod = __import__(name, fromlist=public_api)
File "C:\Users\ASUS\AppData\Roaming\Python\Python37\site-packages\zmq\backend\cython\__init__.py", line 6, in 
from . import (constants, error, message, context,
ImportError: cannot import name 'constants' from 'zmq.backend.cython' (C:\Users\ASUS\AppData\Roaming\Python\Python37\site-packages\zmq\backend\cython\__init__.py)

我已经重新安装了两次Anaconda。我尝试了许多命令行来更新Anaconda的软件包。示例:

activate root
conda update -n root conda
conda update --all

我真的不知道该怎么办,我看着StackOverflow看看是否可以找到答案,但是我什么都没找到。

谢谢。

0 个答案:

没有答案