简体   繁体   中英

ImportError: cannot import name QtWebKit when using PySide

I am trying to get my old project clipmanager building and I am encountering the following error:

/home/user/.virtualenvs/clipmanager27/bin/python /home/user/development/clipmanager/clipmanager/app.py
Traceback (most recent call last):
  File "/home/user/development/clipmanager/clipmanager/app.py", line 15, in <module>
    from mainwindow import MainWindow
  File "/home/user/development/clipmanager/clipmanager/mainwindow.py", line 12, in <module>
    import dialogs
  File "/home/user/development/clipmanager/clipmanager/dialogs.py", line 8, in <module>
    from PySide import QtWebKit
ImportError: cannot import name QtWebKit

Process finished with exit code 1

I installed Pyside with pip install pyside . I do not even see QtWebKit.so in the site packages folder /home/user/.virtualenvs/clipmanager27/lib/python2.7/site-packages/PySide :

pyside包的文件夹视图

Did it get removed due to licensing?

对于Arch Linux的,安装QT4QtWebKit的安装PySide之前。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM