Compiling PyQt6

Phil Thompson phil at riverbankcomputing.com
Thu Sep 14 18:35:49 BST 2023


On 14/09/2023 18:16, Stefan Seefeld wrote:
> Thanks Phil for the quick reply !
> 
> I'm a bit confused now. When I install both packages, I can do `from 
> PyQt6
> import Qt`, so it definitely does seem to exist.

>>> from PyQt6 import Qt
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
ImportError: cannot import name 'Qt' from 'PyQt6' 
(/Users/phil/bob/venv/develop-3.12/lib/python3.12/site-packages/PyQt6/__init__.py)

Phil


More information about the PyQt mailing list