-
Notifications
You must be signed in to change notification settings - Fork 380
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
"ImportError: No module named PySide2.QtWebKitWidgets" while running the example script #326
Comments
Python2 support has been dropped on dev branch. Looks like the PySide2 build you're using does not include QtWebKit. You should consider using the docker image as described here: https://github.com/jeanphix/ghost.py#installation |
@jeanphix and how to resolve it on Windows 10? |
@dattatembare I know this question has more than a year now, but anyway, if you had a Windows Miniconda distribution, for example, you could download a built distribution of PyQt and then install it using
conda create -n ghost python=3.7 ghost.py
conda activate ghost
pip install %PATH_TO_YOUR_WHL% replace It should properly work after that. If you want to test it, run this script: |
I also came across this issue. Installing |
Which python distribution do you have? I can only assure that my procedure makes things work only in Windows Miniconda, which I have. |
This error happens to me in I'm a bit frustrated at this point 😒 |
So, you're not using a distribution, like Anaconda or Miniconda, aren't you? |
No, I was trying to make this work with portables from https://winpython.github.io/. And I'm on Windows. |
I see. In my experience, Winpython was a bit troublesome when I tried to develop a desktop app with Glade and PyGObject. I eventually succeeded, and got even a Windows executable running, which I made with cx_freeze. But I remember it as a... painful experience 😆 I assume that you are using a portable installation of Winpython. In that case, you possibily don't want a conventional Python 3 installation or a full, heavyweight, all-in-one Anaconda distribution, but let me point out that Miniconda may do the trick for you. Miniconda includes only the If you are using a non-portable installation of Winpython... well, I never used it before, so I don't know what's going on. Hope it helps, regards 😁 |
At this point I switched to a NodeJS library called Puppeteer, so for the time being I don't think I will try to install this again 😕. Now I regret not having started with Miniconda on the first place haha. From now on I'll be more careful with Winpython as well. I really appreciate your efforts, I hope they are useful to others, thanks a lot for your tips, !! 🙌🏻✨ |
While running
I'm encountering following error:
I'm on Python2.7, with PySide2 and PyQt installed with Qt.
The text was updated successfully, but these errors were encountered: