Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parrot 3.6 error #94

Open
gutthhub opened this issue Jun 13, 2017 · 5 comments
Open

parrot 3.6 error #94

gutthhub opened this issue Jun 13, 2017 · 5 comments

Comments

@gutthhub
Copy link

Traceback (most recent call last):
File "CreepyMain.py", line 20, in
from PyQt4.QtWebKit import QWebPage, QWebSettings
ImportError: No module named QtWebKit

@ounisz
Copy link

ounisz commented Apr 24, 2018

until now there is no solution to this problem.
I upgraded pip with the following "pip install --upgrade pip" it was fine
then I add the following line "pip install -U pytz python-qt flickrapi python-instagram yapsy tweepy google-api-python-client python-dateutil configobj dominate "
after that I download it creepy from https://github.com/jkakavas/creepy/tarball/master
untar it and I I tryied to run the creepy with the following command
python Creepymain.py
I got the following error
File "CreepyMain.py", line 20, in
from PyQt4.QtWebKit import QWebPage, QWebSettings
ImportError: No module named QtWebKit
unfortunately there is until now no solution on the internet about this important subject

@b4dnewz
Copy link

b4dnewz commented Apr 24, 2018

have you tried to install these:

libqtwebkit-dev
libqtwebkit4

or more generally look into your package manager for qt or qtwebkit? the error seems complaining about QtWebKit that is missing

@metamonsta
Copy link

I have the same issue as the op. I also have the two libraries @b4dnewz mentioned and still receive the same error ::
python CreepyMain.py
Traceback (most recent call last):
File "CreepyMain.py", line 20, in
from PyQt4.QtWebKit import QWebPage, QWebSettings
ImportError: No module named QtWebKit

Any help?

@b4dnewz
Copy link

b4dnewz commented Jun 8, 2018

@metamonsta it could be the python qt library that is missing at this point.. I don't know exactly.. from a briefly google search you can try to search if exists and are missing packages of this pattern: python-pyqt*

I guess libqtwebkit4 alone is not enough it still needs the python drivers. Let me know if you solve it.

@Father-Stalin
Copy link

I recently started playing around with the program, and found something interesting. As we know, PyQt4 references a .QtWebkit and from there imports QtWebPage. The funny thing is, the requirements of PyQt4 does not include the QtWebkit, hence the error.

I am on Parrot, I "Fixed" my issue by changing lines in three .py files from "from PyQt4.QtWebKit" to PySide instead of the PyQt4 library. The PySide Library supports the webkit, more specifically, the files I changed were FilterLocationsPointDialog.py, CreepyMain.py, and CreepyUI.py.

Hope this helps, I get no exceptions when running, but the program doesn't launch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants