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

List:       pykde
Subject:    Re: Exception importing PyQt5.QtWidgets and others
From:       ullix <ullix () urkam ! de>
Date:       2024-01-08 14:32:29
Message-ID: 999f50b9-fb32-445b-9f8f-e768b541f306 () urkam ! de
[Download RAW message or body]

[Attachment #2 (text/plain)]

Edit: this is what a search for "glibc" in Synaptic gives for installed 
software:


Am 08.01.24 um 15:27 schrieb ullix:
> As you see in the footer to my mail, I am using a - fully updated - 
> Min21.2, based on Ubuntu 22.04.
>
> If their GLIBC is outdated for QT5, I'd expect much wider problems!
>
> ullix
>
>
> Am 08.01.24 um 15:12 schrieb Phil Thompson:
>> On 08/01/2024 12:50, ullix wrote:
>>> I get this traceback on Exception when importing:
>>>
>>> Traceback (most recent call last):
>>>   File "/home/ullix/geigerlog/geigerlog/gsup_utils.py", line 185, in 
>>> <module>
>>> from PyQt5.QtWidgets import *
>>> ImportError:
>>> /home/ullix/geigerlog/geigerlog/venvGL67/lib/python3.10/site-packages/PyQt5/QtWidgets.abi3.so: 
>>>
>>> undefined symbol: _ZdlPvm, version Qt_5
>>>
>>> I have this version installed in a venv:
>>> Module: PyQt5                  Installed Version: 5.15.10
>>>
>>> I downgraded the version to .9, .8. .7, .6, .5, .4, .3 and all failed
>>> in the same way (QtWidgets.abi3.so: undefined symbol: _ZdlPvm, version
>>> Qt_5)
>>>
>>> In the older versions 5.15.2,  .1,  .0 it worked ok.
>>>
>>>
>>> Also tried other imports and it failed:
>>> import PyQt5.QtCore
>>> ImportError:
>>> /home/ullix/geigerlog/geigerlog/venvGL67/lib/python3.10/site-packages/PyQt5/QtCore.abi3.so: 
>>>
>>> undefined symbol: _ZdlPvm, version Qt_5
>>>
>>> While this again worked-on up to  15.5.2 but not on later versions.
>>>
>>>
>>> Further, I tried:
>>> importPyQt5
>>>
>>> and at least this import worked on all versions from 15.5.0 to 15.5.10
>>> ullix
>>> $ lsb_release -a No LSB modules are available. Distributor ID:
>>> Linuxmint Description: Linux Mint 21.2 Release: 21.2 Codename:
>>> victoria
>>> $ uname -a Linux urkam 5.15.0-91-generic #101-Ubuntu SMP Tue Nov 14
>>> 13:30:08 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
>>
>> I suspect that this is because your version of GLIBC is too old for 
>> later versions of Qt5.
>>
>> Phil

[Attachment #3 (multipart/related)]

[Attachment #5 (text/html)]

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Edit: this is what a search for "glibc" in Synaptic gives for
      installed software:</p>
    <p><img src="cid:part1.Y1nxtMqy.3yNXIDGE@urkam.de" alt=""></p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">Am 08.01.24 um 15:27 schrieb ullix:<br>
    </div>
    <blockquote type="cite"
      cite="mid:06760690-4bef-42f2-a5ab-b3c73df1d15f@urkam.de">As you
      see in the footer to my mail, I am using a - fully updated -
      Min21.2, based on Ubuntu 22.04.
      <br>
      <br>
      If their GLIBC is outdated for QT5, I'd expect much wider
      problems!
      <br>
      <br>
      ullix
      <br>
      <br>
      <br>
      Am 08.01.24 um 15:12 schrieb Phil Thompson:
      <br>
      <blockquote type="cite">On 08/01/2024 12:50, ullix wrote:
        <br>
        <blockquote type="cite">I get this traceback on Exception when
          importing:
          <br>
          <br>
          Traceback (most recent call last):
          <br>
             File "/home/ullix/geigerlog/geigerlog/gsup_utils.py", line
          185, in &lt;module&gt;
          <br>
          from PyQt5.QtWidgets import *
          <br>
          ImportError:
          <br>
/home/ullix/geigerlog/geigerlog/venvGL67/lib/python3.10/site-packages/PyQt5/QtWidgets.abi3.so:
          <br>
          undefined symbol: _ZdlPvm, version Qt_5
          <br>
          <br>
          I have this version installed in a venv:
          <br>
          Module: PyQt5                                   Installed Version: 5.15.10
          <br>
          <br>
          I downgraded the version to .9, .8. .7, .6, .5, .4, .3 and all
          failed
          <br>
          in the same way (QtWidgets.abi3.so: undefined symbol: _ZdlPvm,
          version
          <br>
          Qt_5)
          <br>
          <br>
          In the older versions 5.15.2,   .1,   .0 it worked ok.
          <br>
          <br>
          <br>
          Also tried other imports and it failed:
          <br>
          import PyQt5.QtCore
          <br>
          ImportError:
          <br>
/home/ullix/geigerlog/geigerlog/venvGL67/lib/python3.10/site-packages/PyQt5/QtCore.abi3.so:
          <br>
          undefined symbol: _ZdlPvm, version Qt_5
          <br>
          <br>
          While this again worked-on up to   15.5.2 but not on later
          versions.
          <br>
          <br>
          <br>
          Further, I tried:
          <br>
          importPyQt5
          <br>
          <br>
          and at least this import worked on all versions from 15.5.0 to
          15.5.10
          <br>
          ullix
          <br>
          $ lsb_release -a No LSB modules are available. Distributor ID:
          <br>
          Linuxmint Description: Linux Mint 21.2 Release: 21.2 Codename:
          <br>
          victoria
          <br>
          $ uname -a Linux urkam 5.15.0-91-generic #101-Ubuntu SMP Tue
          Nov 14
          <br>
          13:30:08 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
          <br>
        </blockquote>
        <br>
        I suspect that this is because your version of GLIBC is too old
        for later versions of Qt5.
        <br>
        <br>
        Phil
        <br>
      </blockquote>
    </blockquote>
  </body>
</html>
["06VFpjOymqv4Ksln.png" (image/png)]

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

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