我最近从他们的官方网站安装了 Anaconda。我的操作系统是 Linux Manjaro,完全更新。在尝试在终端中加载 spyder 写入spyder时,我得到了这个,作为输出:
Traceback (most recent call last):
File "/home/jakub/anaconda3/lib/python3.5/site-packages/qtpy/QtWebEngineWidgets.py", line 22, in <module>
from PyQt5.QtWebEngineWidgets import QWebEnginePage
ImportError: No module named 'PyQt5.QtWebEngineWidgets'
在处理上述异常的过程中,又出现了一个异常:
Traceback (most recent call last):
File "/home/jakub/anaconda3/bin/spyder", line 6, in <module>
sys.exit(spyder.app.start.main())
File "/home/jakub/anaconda3/lib/python3.5/site-packages/spyder/app/start.py", line 103, in main
from spyder.app import mainwindow
File "/home/jakub/anaconda3/lib/python3.5/site-packages/spyder/app/mainwindow.py", line 92, in <module>
from qtpy import QtWebEngineWidgets # analysis:ignore
File "/home/jakub/anaconda3/lib/python3.5/site-packages/qtpy/QtWebEngineWidgets.py", line 26, in <module>
from PyQt5.QtWebKitWidgets import QWebPage as QWebEnginePage
ImportError: libselinux.so.1: cannot open shared object file: No such file or directory
我完全更新了 anaconda 和 anaconda 元数据。我(故意)安装的 python 版本是 3.5。在网上找不到答案。