Install (build) PyQt5 on ppc64le
mitya57 at ubuntu.com
Mon Oct 3 13:08:10 BST 2022
I have just replied on ubuntu-motu mailing list, but posting here too.
On Sun, Sep 18, 2022 at 07:04:10PM +0000, c.buhtz at posteo.jp wrote:
> I need to install/build PyQt5 on a ppc64le machine with Ubuntu 20 LTS
> "focal". That machine is a TravisCI instance which runs virtual
> environments for every Python version I configured.
> But there is a known problem about a missing
> Inside such python versions the usual packages from the Ubuntu
> repository are irrelevant. I need to install PyQt5 via pip. So apt-get
> is not an option.
> I suspect that it is somehow possible to build it. Hope you can
> assist me here. This is the relevant part of the error output
> 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'
This is not the relevant part...
> This is the full error output
> line 67, in apply_user_defaults raise PyProjectOptionException('qmake',
...but this one is.
Here is line 67 of pyqtbuild/builder.py:
And it means that PyQt-builder was not able to find qmake in PATH. You should
make sure you have a working qmake executable somewhere in $PATH.
On Ubuntu 20.04, make sure you have qt5-qmake package installed, and also
either export QT_SELECT=5 or install qt5-default package.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: not available
More information about the PyQt