bug with pyqtwebengine and Ubuntu 20.04 and Python 3.8

Tanim Islam tanim.islam at gmail.com
Tue May 12 21:14:03 BST 2020


On Tue, May 12, 2020 at 10:04 AM Florian Bruhin <me at the-compiler.org> wrote:

> On Tue, May 12, 2020 at 09:44:00AM -0700, Tanim Islam wrote:
> > I am running Ubuntu 20.04 and Python 3.8. I have installed pyqtwebengine
> by
> > running "pip3 install --user pyqtwebengine". pip3 list | grep Web shows
> > "PyQtWebEngine                 5.14.0". However, when in the Python
> shell I
> > do "import PyQt5.PyQtWebEngine", I get "ModuleNotFoundError: No module
> > named 'PyQt5.PyQtWebEngines'".
> >
> > Has anyone seen this error?
> >
> > NOTE: this is different from "import PyQt5.PyQtWebEngines"
>
> Well, you just said above that your error message says:
> "ModuleNotFoundError: No module named 'PyQt5.PyQtWebEngines'"
>
> What code do you *actually* run, and what output do you *actually* get?
> Can you
> copy-paste an actual console session?
>
> Florian
>
> --
> me at the-compiler.org (Mail/XMPP) | https://www.qutebrowser.org
>        https://bruhin.software/ |
> https://github.com/sponsors/The-Compiler/
>        GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc
>              I love long mails! | https://email.is-not-s.ms/


In [17]: *import PyQt5.PyQtWebEngine*
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-17-b4659f8d6aa3> in <module>
----> 1 import PyQt5.PyQtWebEngine

ModuleNotFoundError: No module named 'PyQt5.PyQtWebEngine'

In [18]: *import PyQt5.PyQtWebEngines*
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-18-a66d919f948c> in <module>
----> 1 import PyQt5.PyQtWebEngines

ModuleNotFoundError: No module named 'PyQt5.PyQtWebEngines'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20200512/9cb0125d/attachment.htm>


More information about the PyQt mailing list