我试图在Windows 7、64位系统上运行32位Anaconda 3.7。安装后,我可以运行Anaconda-Prompt,但是Navigator或Spyder都不会打开。
第一次安装并尝试从提示符运行“ anaconda-navigator”后,我得到:
Traceback (most recent call last):
File "C:\Anaconda3\Scripts\spyder-script.py", line 10, in <module>
sys.exit(main())
File "C:\Anaconda3\lib\site-packages\spyder\app\start.py", line 186, in main
from spyder.app import mainwindow
File "C:\Anaconda3\lib\site-packages\spyder\app\mainwindow.py", line 78, in <m
odule>
from qtpy.compat import from_qvariant
File "C:\Anaconda3\lib\site-packages\qtpy\compat.py", line 15, in <module>
from .QtWidgets import QFileDialog
File "C:\Anaconda3\lib\site-packages\qtpy\QtWidgets.py", line 22, in <module>
from PyQt5.QtWidgets import *
ImportError: DLL load failed: The specified procedure could not be found.
当我在Anaconda-Prompt中键入Spyder3时,在启动器中出现此错误: 无法使用创建流程 “ c:\ ci \ spyder_154343968308_h_env_pythonw.exe” “ C:\ Anaconda3 \ Scripts \ spyder3.exe”'
我尝试了其他搜索提供的各种建议的修复程序,包括从Anaconda-Prompt运行这些修复程序: 1. conda更新conda(这会将conda从4.5.12更新到4.6.11) 2. conda更新PyQt5
WARNING: The conda.compat module is deprecated and will be removed in a future r
elease.
PackageNotInstalledError: Package is not installed in prefix.
prefix: C:\Anaconda3
package name: pyqt5
conda安装PyQt5 我收到PackageNotFoundError
pip安装PyQt5 我收到警告:
spyder 3.3.2 has requirement pyqt5<5.10; python_version >= "3", but you'll have
pyqt5 5.12.1 which is incompatible.
Installing collected packages: PyQt5-sip, PyQt5
Successfully installed PyQt5-5.12.1 PyQt5-sip-4.19.15
这实际上允许我运行导航器,但是当我尝试启动Spyder时,出现以下错误:
Traceback (most recent call last):
File "C:\Anaconda3\Scripts\spyder-script.py", line 10, in sys.exit(main())
File "C:\Anaconda3\lib\site-packages\spyder\app\start.py", line 186, in main from spyder.app import mainwindow
File "C:\Anaconda3\lib\site-packages\spyder\app\mainwindow.py", line 90, in from qtpy import QtWebEngineWidgets # analysis:ignore
File "C:\Anaconda3\lib\site-packages\qtpy\QtWebEngineWidgets.py", line 22, in from PyQt5.QtWebEngineWidgets import QWebEnginePage
ValueError: PyCapsule_GetPointer called with incorrect name
从Anaconda Prompt启动spyder3仍然显示原始错误。