Error: sipbuild.api' has no attribute 'prepare_metadata_for_build_wheel'
Phil Thompson
phil at riverbankcomputing.com
Thu Nov 18 11:18:04 GMT 2021
pip ignores anything after the initial .cp36 in the wheel name and so
will install the current PyQtChart etc. for Python v3.10.
Phil
On 17/11/2021 20:58, Philippe Fremy wrote:
> Hi,
>
> Thanks, it is also what I found on my own. Problem is easy to solve
> for PyQt5 but other modules don't have Python 3.10 wheel release yet:
> PyQt3d, PyQtCharts, ...
>
> So, I'll stick to 3.9 in the mean time.
>
> Thanks you so much for your help.
>
> Cheers,
>
> Philippe
>
> Le 17.11.2021 16:32, Benoit Pierre a écrit :
>> On Wed, Nov 17, 2021 at 2:55 PM Philippe Fremy <phil at freehackers.org>
>> wrote:
>>
>>> Hi,
>>>
>>> Thanks for helping me. The version of pip is upgraded to the latest
>>> before running the script, so this is not the source of the error.
>>>
>>> Here is the rest of the inner exception. I did not notice it at
>>> first
>>> but it seems to fail because it can not find qmake. Which is
>>> coherent.
>>> But it does not explain why the source package was picked up.
>>
>> You're asking for version 5.15.4, but you're using Python 3.10:
>> there's no compatible wheel for that version of Python (see
>> https://pypi.org/project/PyQt5/5.15.4/#files). Try 5.15.5 or later.
>>
>> Cheers
>>
>> --
>> A: Because it destroys the flow of conversation.
>> Q: Why is top posting dumb?
More information about the PyQt
mailing list