Problems with PyQt5 on Raspi 5 / Debian Bookworm
ullix
ullix at urkam.de
Tue Dec 19 08:42:37 GMT 2023
qt5-qmake (5.15.8) is present in the repositories, but was NOT
installed. After installing it I could start pip-installing pyqt5, but
it ended with a "Killed". Nothing got installed.
On the previous version of Raspi OS (based on Debian 11, bullseye) the
qt5-make (5.15.2) was installed by default, but pip-installing pyqt5
ended with the very same "Killed".
*
*
*Terminal-output on Raspi 5 (Debian 12, bookworm):*
ullix at raspberrypi:~ $ source vGL/bin/activate
(vGL) ullix at raspberrypi:~ $ pip install -U pyqt5
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting pyqt5
Using cached PyQt5-5.15.10.tar.gz (3.2 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... -Killed
(vGL) ullix at raspberrypi:~ $ pip show pyqt5
WARNING: Package(s) not found: pyqt5
(vGL) ullix at raspberrypi:~ $ deactivate
ullix at raspberrypi:~ $ pip show pyqt5
Name: PyQt5
Version: 5.15.9
Summary: Python bindings for the Qt cross platform application toolkit
Home-page: https://www.riverbankcomputing.com/software/pyqt/
Author: Riverbank Computing Limited
Author-email: info at riverbankcomputing.com
License: GPL v3
Location: /usr/lib/python3/dist-packages
Requires: PyQt5-sip
Required-by:
Am 18.12.23 um 15:21 schrieb Charles:
> The last trace of your exception mentions qmake. Building pyqt5
> requires qt5 to be installed. So the question is, do you have qmake
> (qt5-qmake) installed or not?
>
> On Fri, Dec 15, 2023 at 11:23 PM ullix <ullix at urkam.de> wrote:
>
> I got the new Raspi 5 and tested a few things. I used pip to
> install/modify a dozen packages, and all worked except for *PyQt5.*
>
> PyQt5 had been apt-installed as version 5.15.9, and worked in
> tests of mine. But what failed was when trying to upgrade to
> 5.15.10. After closer instepction I apt-removed the apt-installed
> PyQt5, and tried to pip-install that very same version. It failed
> with :
>
> Preparing metadata (pyproject.toml): started
> Preparing metadata (pyproject.toml): finished with status 'error'
>
> Full error report in attached file.
>
> After reinstalling 'python3-pyqt5' via apt, it worked again.
>
> Where is the problem: Raspi, Debian, pip, pyqt5?
>
> ullix
>
>
> On Raspi 5 I used the default OS install:
>
>
> Raspberry Pi OS with desktop
>
> * Release date: December 5th 2023
> * System: 64-bit
> * Kernel version: 6.1
> * Debian version: 12 (bookworm)
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20231219/fcb16aa7/attachment-0001.htm>
More information about the PyQt
mailing list