Cannot import QScintilla (part 2)
kristof.mulier at telenet.be
kristof.mulier at telenet.be
Tue May 3 15:21:44 BST 2022
I found the reason for the QScintilla import failure.
It seems that installing the PyQt6 tools downgrades the PyQt6 version nr. If I do only this:
> pip install pyqt6
I get version '6.3.0'. However, if I also install the PyQt6 tools:
> pip install pyqt6-tools
the version of PyQt6 is downgraded to '6.1.0'. So this time, I did NOT install the PyQt6 tools and kept my PyQt6 installation at version '6.3.0'. Now the import of QScintilla works:
>>> import PyQt6
>>> import PyQt6.QtCore
>>> PyQt6.QtCore.PYQT_VERSION_STR
'6.3.0'
>>> import PyQt6.QtGui
>>> import PyQt6.Qsci
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20220503/138e6565/attachment.htm>
More information about the PyQt
mailing list