Unable to install PyQt6

Ben Phillips ben.phillips910 at gmail.com
Sun Feb 7 22:17:41 GMT 2021


Hi Ludovic,

(sorry I double posted this to you; I forgot to Reply All the first time)

Thanks for advice,

I have tried upgrading from Python 3.6 to 3.8, and then I upgraded pip3.8
to max version, and the error I now get is: Command "python setup.py
egg_info" failed with error code 1 in /tmp/pip-build-r7s4auof/PyQt6/

I have also tried installing the wheel files directly (on Ubuntu 18.04)
from this link https://pypi.org/project/PyQt6/#modal-close , but all those
wheel files give the same result:
PyQt6-6.0.1-cp36.cp37.cp38.cp39-abi3-manylinux_2_28_x86_64.whl
is not a supported wheel on this platform.

Any idea how I can install latest version of PyQt6 on Ubuntu 18.04 with
AMD64 CPU for Python3.8?

On Sun, 24 Jan 2021 at 02:53, Ludovic Bellière <belliere.ludovic at proximus.be>
wrote:

> Try upgrading pip.
>
> On Sat, 23 Jan 2021 23:39:50 +0000
> Ben Phillips <ben.phillips910 at gmail.com> wrote:
>
> > Hi Team,
> >
> > I am unable to install PyQt6 via pip:
> >
> >     ERROR: Command errored out with exit status 1:
> >      command: /home/bob/app/venv/bin/python
> >
> /home/bob/app/venv/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py
> > prepare_metadata_for_build_wheel /tmp/tmpxk7rx2bc
> >          cwd:
> > /tmp/pip-install-sd6hxltk/pyqt6_3089cd1493db4e10812a84f3fcbe80e3
> >     Complete output (37 lines):
> >     Querying qmake about your Qt installation...
> >     /usr/bin/qmake -query
> >     Traceback (most recent call last):
> >       File
> >
> "/home/bob/app/venv/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py",
> > line 126, 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'
> >
> > Is this a known issue?
> >
> > Regards,
> > Ben
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20210207/576d4d4e/attachment.htm>


More information about the PyQt mailing list