[PyQt] error when installing PyQt5

Denis Rouzaud denis.rouzaud at gmail.com
Fri Jan 10 09:11:33 GMT 2020


Hi list,

When running on Travis (ubuntu), I get this error:

Collecting PyQt5 (from qgis-plugin-ci)
194  Downloading
https://files.pythonhosted.org/packages/3a/fb/eb51731f2dc7c22d8e1a63ba88fb702727b324c6352183a32f27f73b8116/PyQt5-5.14.1.tar.gz
(3.2MB)
195  Installing build dependencies: started
196  Installing build dependencies: finished with status 'done'
197  Getting requirements to build wheel: started
198  Getting requirements to build wheel: finished with status 'done'
199    Preparing wheel metadata: started
200    Preparing wheel metadata: finished with status 'error'
201    Complete output from command
/home/travis/virtualenv/python3.7.1/bin/python
/home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py
prepare_metadata_for_build_wheel /tmp/tmpi7fqt297:
202    Querying qmake about your Qt installation...
203    /usr/bin/qmake -query
204    Traceback (most recent call last):
205      File "/home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py",
line 64, in prepare_metadata_for_build_wheel
206        hook = backend.prepare_metadata_for_build_wheel
207    AttributeError: module 'sipbuild.api' has no attribute
'prepare_metadata_for_build_wheel'
208




Any idea?
Denis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20200110/8edce15e/attachment.html>


More information about the PyQt mailing list