<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>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. <br>
</p>
<p>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".</p>
<p><b><br>
</b></p>
<p><b>Terminal-output on Raspi 5 (Debian 12, bookworm):</b><br>
</p>
<p>ullix@raspberrypi:~ $ source vGL/bin/activate<br>
<br>
(vGL) ullix@raspberrypi:~ $ pip install -U pyqt5<br>
Looking in indexes: <a class="moz-txt-link-freetext" href="https://pypi.org/simple">https://pypi.org/simple</a>,
<a class="moz-txt-link-freetext" href="https://www.piwheels.org/simple">https://www.piwheels.org/simple</a><br>
Collecting pyqt5<br>
Using cached PyQt5-5.15.10.tar.gz (3.2 MB)<br>
Installing build dependencies ... done<br>
Getting requirements to build wheel ... done<br>
<font color="#ff0000"> Preparing metadata (pyproject.toml) ...
-Killed</font><br>
<br>
(vGL) ullix@raspberrypi:~ $ pip show pyqt5<br>
WARNING: Package(s) not found: pyqt5<br>
(vGL) ullix@raspberrypi:~ $ deactivate <br>
<br>
ullix@raspberrypi:~ $ pip show pyqt5<br>
Name: PyQt5<br>
Version: 5.15.9<br>
Summary: Python bindings for the Qt cross platform application
toolkit<br>
Home-page: <a class="moz-txt-link-freetext" href="https://www.riverbankcomputing.com/software/pyqt/">https://www.riverbankcomputing.com/software/pyqt/</a><br>
Author: Riverbank Computing Limited<br>
Author-email: <a class="moz-txt-link-abbreviated" href="mailto:info@riverbankcomputing.com">info@riverbankcomputing.com</a><br>
License: GPL v3<br>
Location: /usr/lib/python3/dist-packages<br>
Requires: PyQt5-sip<br>
Required-by: <br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">Am 18.12.23 um 15:21 schrieb Charles:<br>
</div>
<blockquote type="cite"
cite="mid:CABthHP9Xh5qmO+EmX1w=oAdpsZVQEE-YyV+phk2qK=djR53jBg@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif;font-size:small">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?<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Fri, Dec 15, 2023 at
11:23 PM ullix <<a href="mailto:ullix@urkam.de"
moz-do-not-send="true" class="moz-txt-link-freetext">ullix@urkam.de</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<p>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 <b>PyQt5.</b></p>
<p>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 :<br>
</p>
<p> Preparing metadata (pyproject.toml): started<br>
Preparing metadata (pyproject.toml): finished with
status 'error'</p>
<p>Full error report in attached file.</p>
<p>After reinstalling 'python3-pyqt5' via apt, it worked
again.</p>
<p>Where is the problem: Raspi, Debian, pip, pyqt5?</p>
<p>ullix</p>
<p><br>
</p>
<p>On Raspi 5 I used the default OS install:</p>
<h3>Raspberry Pi OS with desktop</h3>
<ul>
<li>Release date: December 5th 2023</li>
<li>System: 64-bit</li>
<li>Kernel version: 6.1</li>
<li>Debian version: 12 (bookworm)</li>
</ul>
<p><br>
</p>
<p><br>
</p>
</div>
</blockquote>
</div>
</blockquote>
</body>
</html>