[PyQt] PyQt 5.13.2 build error: module 'sipbuild.api' has no attribute ‘prepare_metadata_for_build_wheel'

Thijs Triemstra lists at collab.nl
Sun Nov 10 13:10:21 GMT 2019


Hi Phil,

I downloaded SIP 5.0.0 and tried to install it with Python 3.8. It’s unfortunate not trivial because —help is broken:

$ sip-install --help
sip-install: pyproject.toml: unable to parse file: [Errno 2] No such file or directory: 'pyproject.toml'

> On 10 Nov 2019, at 11:49, Phil Thompson <phil at riverbankcomputing.com> wrote:
>
> On 10/11/2019 10:44, FX wrote:
>
>> Dear Phil,
>>
>>> The real exception is the traceback starting at line 1499. This
>>> implies that 'make install' is failing but pip discards the relevant
>>> information.
>>> I'd suggest using sip-install, as the docs state, at least while you
>>> work out what the problem is.
>>
>> Many thanks. I indeed saw in the doc that "The recommended method of
>> building PyQt5 from source is to unpack the sdist and use SIP’s
>> sip-install program.” but there is no example given on how
>> “sip-install” should be used. Could your provide a link to detailed
>> steps of how this should be done?
>
> Any example would be trivial. Unpack the sdist, change to the directory
> and run sip-install. Use --help to see all the options.
>
> Phil
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> https://www.riverbankcomputing.com/mailman/listinfo/pyqt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20191110/ca0ef487/attachment.html>


More information about the PyQt mailing list