Problem installing PyQt6 via PyPI

Detlev Offenbach detlev at die-offenbachs.de
Tue Jan 5 11:29:37 GMT 2021


Am 05.01.21 um 11:33 schrieb Phil Thompson:
> On 05/01/2021 10:18, Detlev Offenbach wrote:
>> Hello Phil,
>>
>> trying to install PyQt6 via "pip install PyQt6" results in an error.
>> The command downloads the .tar.gz file and tries to build the wheel
>> from there, which fails. Trying to install the downloaded wheel fails
>> as well.
>>
>> ./pyqt6env/bin/python3 -m pip install
>> ~/Downloads/Python/PyQt/PyQt6/PyQt6-6.0.0-6.0.0-cp36.cp37.cp38.cp39-abi3-manylinux_2_28_x86_64.whl 
>>
>>
>> ERROR:
>> PyQt6-6.0.0-6.0.0-cp36.cp37.cp38.cp39-abi3-manylinux_2_28_x86_64.whl
>> is not a supported wheel on this platform.
>>
>> The test was done on Kubuntu 20.10 with Python 3.9
>
> Do you have an up to date version of pip?

That was the issue. Per default pip v20.1.1 was installed into the 
virtual environment (created via "python3.9 -m venv pyqt6env"). After 
your hint I upgraded pip (it is now v20.3.3) and PyQt6 installed fine.

Should the wheel contain a dependency on the recent version of pip?

Detlev

>
> Phil

-- 
Detlev Offenbach
detlev at die-offenbachs.de



More information about the PyQt mailing list