Cannot import QScintilla

kristof.mulier at telenet.be kristof.mulier at telenet.be
Tue May 3 15:13:55 BST 2022


I was experimenting with PyQt6, but can't import the QScintilla library. This despite the fact that QScintilla seems to be supported in PyQt6: 
[ https://pypi.org/project/PyQt6-QScintilla/ | https://pypi.org/project/PyQt6-QScintilla/ ] 

I run Python 3.9.12 on Windows 11 and have the following packages installed: 
> pip install pyqt6 
> pip install pyqt6-tools 
> pip install PyQt6-QScintilla 
Importing QScintilla fails: 

>>> import PyQt6 
>>> import PyQt6.QtCore 
>>> PyQt6.QtCore.PYQT_VERSION_STR 
'6.1.0' 
>>> import PyQt6.QtGui 
Traceback (most recent call last): 
File "<stdin>", line 1, in <module> 
ImportError: DLL load failed while importing QtGui: The specified procedure could not be found. 
>>> import PyQt6.Qsci 
Traceback (most recent call last): 
File "<stdin>", line 1, in <module> 
ImportError: DLL load failed while importing QtGui: The specified procedure could not be found. 




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20220503/8e4513e4/attachment.htm>


More information about the PyQt mailing list