bug with pyqtwebengine and Ubuntu 20.04 and Python 3.8

Florian Bruhin me at the-compiler.org
Tue May 12 21:28:09 BST 2020


On Tue, May 12, 2020 at 01:14:03PM -0700, Tanim Islam wrote:
> 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'

Sorry, I didn't notice this until now: It's PyQt5.QtWebEngine, not
PyQt5.PyQtWebEngine.

(Though you're more likely to need the QtWebEngineWidgets module)

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/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20200512/5af88137/attachment.sig>


More information about the PyQt mailing list