Module not importing PyQt5 modules

Rich Shepard rshepard at appl-ecosys.com
Wed Jun 2 22:37:37 BST 2021


On Wed, 2 Jun 2021, David Boddie wrote:

> OK, so what do you get when you import PyQt5.QtCore (for example) from the
> interactive prompt?

David,

All four modules import properly.

I hadn't thought of checking this. Since they all import from the console
what might cause the frozen importlib._bootstrap>(978)_find_and_load() when
I step through the module using pdb?

> Is it running the system Python 3 or another executable. What does it show
> in the sys.path variable?

There's only one python3 installed here: /usr/bin/python3.

Thanks,

Rich


More information about the PyQt mailing list