gpt4 book ai didi

python - Spyder 无法从 anaconda 打开

转载 作者:行者123 更新时间:2023-12-02 03:03:17 24 4
gpt4 key购买 nike

最近,我不得不在新计算机上重新安装 anaconda。我从anaconda的网站下载了最新版本,并像以前一样安装了它。现在,当我打开 anaconda 界面并尝试运行 Spyder.exe 时,我收到以下消息:

Traceback (most recent call last):
File "C:\Users\aabramzonx0108132\AppData\Local\Continuum\anaconda3\lib\site-packages\qtpy\QtWebEngineWidgets.py", line 22, in
from PyQt5.QtWebEngineWidgets import QWebEnginePage
ImportError: DLL load failed: The specified procedure could not be found.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\aabramzonx0108132\AppData\Local\Continuum\anaconda3\Scripts\spyder-script.py", line
10, in
sys.exit(main())
File "C:\Users\aabramzonx0108132\AppData\Local\Continuum\anaconda3\lib\site-
packages\spyder\app\start.py", line 186, in main
from spyder.app import mainwindow
File "C:\Users\aabramzonx0108132\AppData\Local\Continuum\anaconda3\lib\site-
packages\spyder\app\mainwindow.py", line 90, in
from qtpy import QtWebEngineWidgets # analysis:ignore
File "C:\Users\aabramzonx0108132\AppData\Local\Continuum\anaconda3\lib\site-
packages\qtpy\QtWebEngineWidgets.py", line 26, in
from PyQt5.QtWebKitWidgets import QWebPage as QWebEnginePage
ModuleNotFoundError: No module named 'PyQt5.QtWebKitWidgets'

难道是我安装错了什么?

最佳答案

这与 PyQt5 模块有关。要解决此问题,请尝试删除 PyQt5

pip uninstall PyQt5

如果这不起作用,请尝试使用重新安装

conda install -f qt=5 pyqt=5

类似帖子:54869374

关于python - Spyder 无法从 anaconda 打开,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59601216/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com