[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: Problems with PyQt5 on Raspi 5 / Debian Bookworm
From:       ullix <ullix () urkam ! de>
Date:       2023-12-19 8:42:37
Message-ID: 457352f6-8b75-4abc-bf44-8766b29b7812 () urkam ! de
[Download RAW message or body]

[Attachment #2 (text/plain)]

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@raspberrypi:~ $ source vGL/bin/activate

(vGL) ullix@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@raspberrypi:~ $ pip show pyqt5
WARNING: Package(s) not found: pyqt5
(vGL) ullix@raspberrypi:~ $ deactivate

ullix@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@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@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)
>
>
>

[Attachment #3 (text/html)]

<!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 &lt;<a href="mailto:ullix@urkam.de"
            moz-do-not-send="true" \
class="moz-txt-link-freetext">ullix@urkam.de</a>&gt;  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>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic