Installation of PyQt6 fails on Ubuntu 20.04
ullix
ullix at urkam.de
Tue Nov 9 08:43:53 GMT 2021
... and also fails on Py3.9 (Ubuntu 16.04 with Cinnamon in an venv:).
Failure seems to be the same type
Am 09.11.21 um 09:39 schrieb ullix:
> it also fails on Ubuntu 16.04 with Cinnamon, on Py3.10 in an venv:
>
> $ python3 -m pip install -U pyqt6
> Collecting pyqt6
> Downloading PyQt6-6.2.1-cp36-abi3-manylinux1_x86_64.whl (7.7 MB)
> |████████████████████████████████| 7.7 MB 6.8 MB/s
> Downloading PyQt6-6.2.0.tar.gz (1.0 MB)
> |████████████████████████████████| 1.0 MB 11.0 MB/s
> Installing build dependencies ... done
> Getting requirements to build wheel ... done
> Preparing metadata (pyproject.toml) ... error
> ERROR: Command errored out with exit status 1:
> command: /home/ullix/geigerlog/vgl310/bin/python3
> /home/ullix/geigerlog/vgl310/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py
> prepare_metadata_for_build_wheel /tmp/tmp8ftxe7n_
> cwd:
> /tmp/pip-install-4qnnsf4g/pyqt6_5a8cdab3ae0745fcbafd025c7fef1a5a
> Complete output (33 lines):
> Querying qmake about your Qt installation...
> /usr/bin/qmake -query
> Traceback (most recent call last):
> File
> "/home/ullix/geigerlog/vgl310/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py",
> line 156, in prepare_metadata_for_build_wheel
> hook = backend.prepare_metadata_for_build_wheel
> AttributeError: module 'sipbuild.api' has no attribute
> 'prepare_metadata_for_build_wheel'
>
> During handling of the above exception, another exception occurred:
>
> ... and hundreds more of red lines. These are the last lines:#
>
> ----------------------------------------
> WARNING: Discarding
> https://files.pythonhosted.org/packages/f7/01/b2b521b6df7153d57d6aa119184afdc8bf8d7d538a5fb22083c6093a49b9/PyQt6-6.0.0.tar.gz#sha256=c758b0568127bffd7147f461d74bbf06249177eae908efed8099eec30984f1b3
> (from https://pypi.org/simple/pyqt6/) (requires-python:>=3.6.1).
> Command errored out with exit status 1:
> /home/ullix/geigerlog/vgl310/bin/python3
> /home/ullix/geigerlog/vgl310/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py
> prepare_metadata_for_build_wheel /tmp/tmpr4sb593f Check the logs for
> full command output.
> ERROR: Could not find a version that satisfies the requirement
> PyQt6-Qt6>=6.2.1 (from pyqt6) (from versions: none)
> ERROR: No matching distribution found for PyQt6-Qt6>=6.2.1
>
> ullix
>
>
>
>
> Am 09.11.21 um 09:32 schrieb JakobDev:
>> The installation of PyQt6 fails on my Ubuntu Mate 20.04 System.
>>
>> jakob at Pluto:~$ pip install PyQt6
>> Collecting PyQt6
>> Downloading PyQt6-6.2.1-cp36-abi3-manylinux1_x86_64.whl (7.7 MB)
>> |████████████████████████████████| 7.7 MB 3.6 MB/s
>> Collecting PyQt6-sip<14,>=13.1
>> Downloading PyQt6_sip-13.1.0-cp38-cp38-manylinux1_x86_64.whl (289 kB)
>> |████████████████████████████████| 289 kB 3.2 MB/s
>> ERROR: Could not find a version that satisfies the requirement
>> PyQt6-Qt6>=6.2.1 (from PyQt6) (from versions: none)
>> ERROR: No matching distribution found for PyQt6-Qt6>=6.2.1 (from PyQt6)
>> jakob at Pluto:~$
>>
>> It can't install PyQt6-Qt6 for some reason.
>>
More information about the PyQt
mailing list