Errors while installing python bindings

afernandez afernandez at odyhpc.com
Tue Jun 7 19:42:12 BST 2022


Hi Phil,
I had previously tried pip with a very similar outcome:
Collecting QScintilla
Using cached QScintilla-2.13.3.tar.gz (1.7 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 /tmp/tmp64603wve prepare_metadata_for_build_wheel 
/tmp/tmput6jv7tw
cwd: /tmp/pip-install-hbmfmvgr/QScintilla
Complete output (9 lines):
Querying qmake about your Qt installation...
/usr/local/bin/qmake -query
These bindings will be built: Qsci.
Generating the Qsci bindings...
tmp64603wve: /tmp/pip-install-hbmfmvgr/QScintilla/sip/qscimodcommon.sip: 
line 42 column 9: 'QtCore/QtCoremod.sip' could not be found
/tmp/pip-install-hbmfmvgr/QScintilla/sip/qscimodcommon.sip: line 43 column 
9: 'QtGui/QtGuimod.sip' could not be found
/tmp/pip-install-hbmfmvgr/QScintilla/sip/qscimodcommon.sip: line 44 column 
9: 'QtWidgets/QtWidgetsmod.sip' could not be found
/tmp/pip-install-hbmfmvgr/QScintilla/sip/qscimodcommon.sip: line 46 column 
6: 'PyQt_Printer' is not a known qualifier
/tmp/pip-install-hbmfmvgr/QScintilla/sip/qsciprinter.sip: line 21 column 6: 
'PyQt_Printer' is not a known qualifier
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python3 
/tmp/tmp64603wve prepare_metadata_for_build_wheel /tmp/tmput6jv7tw Check 
the logs for full command output.
Something is clearly not clicking but I'm unsure how to proceed.
Thanks,
Arturo

Phil Thompson wrote:
On 07/06/2022 13:03, afernandez wrote:
Hello,
After installing PyQt v5.15.6 with pip and QScintilla_src-2.13.3 with
qmake, the installation of the python bindings is returning the
following errors:
sip-install:
/home/ubuntu/QScintilla_src-2.13.3/Python/sip/qscimodcommon.sip: line
42 column 9: 'QtCore/QtCoremod.sip' could not be found
/home/ubuntu/QScintilla_src-2.13.3/Python/sip/qscimodcommon.sip: line
43 column 9: 'QtGui/QtGuimod.sip' could not be found
/home/ubuntu/QScintilla_src-2.13.3/Python/sip/qscimodcommon.sip: line
44 column 9: 'QtWidgets/QtWidgetsmod.sip' could not be found
/home/ubuntu/QScintilla_src-2.13.3/Python/sip/qscimodcommon.sip: line
46 column 6: 'PyQt_Printer' is not a known qualifier
/home/ubuntu/QScintilla_src-2.13.3/Python/sip/qsciprinter.sip: line 21
column 6: 'PyQt_Printer' is not a known qualifier
I'm not even sure how to begin troubleshooting any of these error
messages. Did I even install PyQt5 correctly? Thanks.
If you are installing PyQt with pip why not install QScintilla in the same 
way?
Phil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/qscintilla/attachments/20220607/e12e4e3e/attachment.htm>


More information about the QScintilla mailing list