【发布时间】:2017-05-08 13:13:16
【问题描述】:
我正在尝试使用 python 2.7 32 位版本的 anaconda 在 Windows 10 上使用 spyder。我无法通过 anaconda 界面、命令提示符或 spyder.exe 打开 spyder。我在命令提示符中收到以下错误消息:
Traceback (most recent call last):
File "C:\Users\Brendan\Anaconda2\Scripts\spyder-script.py", line 5, in <module>
sys.exit(spyder.app.start.main())
File "C:\Users\Brendan\Anaconda2\lib\site-packages\spyder\app\start.py", line 103, in main
from spyder.app import mainwindow
File "C:\Users\Brendan\Anaconda2\lib\site-packages\spyder\app\mainwindow.py", line 92, in <module>
from qtpy import QtWebEngineWidgets # analysis:ignore
File "C:\Users\Brendan\Anaconda2\lib\site-packages\qtpy\QtWebEngineWidgets.py", line 26, in <module>
from PyQt5.QtWebKitWidgets import QWebPage as QWebEnginePage
ImportError: DLL load failed: The specified procedure could not be found.
请注意,我之前使用 python 2.7 和 spyder 运行了 64 位版本的 anaconda。自从我卸载了 64 位版本并安装了 32 位版本后,我就遇到了这个问题。在重新安装之前,我还删除了所有的 .anaconda、.spyder 等文件夹。
我也尝试了这里的大部分建议:Python Spyder reset 这里:ImportError: DLL load failed: The specified procedure could not be found. Python 和这里:Can no Longer open Spyder IDE for Python Programming,包括更新所有包
任何见解都将不胜感激,因为我对使用 python 比较陌生,而且我不理解抛出的错误消息。我能够在 PyQt5 文件夹中找到 QtWebKitWidgets 文件。
【问题讨论】:
标签: python-2.7 anaconda spyder