PyQt6 missing QRegExp

Kovid Goyal kovid at kovidgoyal.net
Fri Nov 19 12:18:18 GMT 2021


python -c "from PyQt6.QtCore import QRegExp"                                                         
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: cannot import name 'QRegExp' from 'PyQt6.QtCore' (/usr/lib/python3.9/site-packages/PyQt6/QtCore.abi3.so)

This is in the PyQt6 distributed by Arch Linux. But I doubt they do
anything to prevent QRegExp from being built loading.
-- 
_____________________________________

Dr. Kovid Goyal 
https://www.kovidgoyal.net
https://calibre-ebook.com
_____________________________________


More information about the PyQt mailing list