您尚未登录。

#1 2018-12-03 16:07:52

jingmouren
会员
注册时间: 2014-09-13
帖子: 30

spyder问题

装了manjaro18
用yaourt安装了spyder3
运行并编辑文件时出现如下错误

File "/usr/lib/python3.7/site-packages/qtpy/QtWebEngineWidgets.py", line 22, in <module>
    from PyQt5.QtWebEngineWidgets import QWebEnginePage
ImportError: libQt5WebEngineWidgets.so.5: cannot open shared object file: No such file or directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/spyder", line 8, in <module>
    start.main()
  File "/usr/lib/python3.7/site-packages/spyder/app/start.py", line 158, in main
    from spyder.app import mainwindow
  File "/usr/lib/python3.7/site-packages/spyder/app/mainwindow.py", line 92, in <module>
    from qtpy import QtWebEngineWidgets  # analysis:ignore
  File "/usr/lib/python3.7/site-packages/qtpy/QtWebEngineWidgets.py", line 26, in <module>
    from PyQt5.QtWebKitWidgets import QWebPage as QWebEnginePage
ImportError: /usr/lib/libQt5WebKit.so.5: undefined symbol: u_charDirection_63

该如何解决?之前用manjaro17时自带python也是python37,但是spyder运行就没有问题

离线

页脚