我的机器上运行 anaconda。几天前,我不得不更新一些库,因为它们已经过时了。更新后,由于以下错误,我无法再启动 anaconda-navigator 或 spyder:
(base) C:\>qtpy.PythonQtError: No Qt bindings could be found
Run Code Online (Sandbox Code Playgroud)
我尝试了以下方法:
*卸载/重新安装整个包*以下命令:
conda update conda
conda update --all
conda install pyqt5
pip install pyqt5
Run Code Online (Sandbox Code Playgroud)
*重置spyder设置
已安装的软件包和网址:
(base) C:\>SPYDER
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\site-packages\qtpy\__init__.py", line 202, in <module>
from PySide import __version__ as PYSIDE_VERSION # analysis:ignore
ModuleNotFoundError: No module named 'PySide'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\Scripts\spyder-script.py", line 10, in <module>
sys.exit(main())
File "C:\ProgramData\Anaconda3\lib\site-packages\spyder\app\start.py", line 186, …Run Code Online (Sandbox Code Playgroud)