Widdershin / flask-desktop

flask-desktop lets you create first class desktop applications in Python with HTML/CSS
MIT License
366 stars 64 forks source link

ImportError: No module named QtWebKit #6

Open moithil opened 6 years ago

moithil commented 6 years ago

The program installed with no error but when running it throws:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/moithilb/virtualenvironment/SerialApp/local/lib/python2.7/site-packages/webui/__init__.py", line 1, in <module>
    from webui import *
  File "/home/moithilb/virtualenvironment/SerialApp/local/lib/python2.7/site-packages/webui/webui.py", line 4, in <module>
    import PySide.QtWebKit as web_core
ImportError: No module named QtWebKit

I have found that qtwebkit has been deprecated and qtwebengine has to be used. Is there any quick workaround to solve the issue? I have installed dependencies and libraries inside virtualenv.

Widdershin commented 6 years ago

Try installing directly from this git repo, the webui package is out of date.

If anyone is interested in becoming the maintainer of this repo I would love to hand it off, I have no interest in supporting this library going forward.

PiecePaperCode commented 4 years ago

pip install PyQtWebEngine will solve your problem