Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. Error installing PySide6 on Ubuntu
Forum Updated to NodeBB v4.3 + New Features

Error installing PySide6 on Ubuntu

Scheduled Pinned Locked Moved Unsolved Qt for Python
6 Posts 2 Posters 2.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    JoelA
    wrote on last edited by
    #1

    Hi!

    I'm trying to install Pyside6 on Ubuntu on a Conda environment using pip. I get the following error:

    File "basicLayouts.py", line 5, in <module>
    from PySide6.QtCore import Qt
    ImportError: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by /home/joel/anaconda3/lib/python3.7/site-packages/PySide6/Qt/lib/libQt6Core.so.6)

    Any ideas why PySide6 is not installing correctly? OS version is Ubuntu 16.04.4

    Thanks!

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      I don't recall pip installing it's own copies of glibc.

      That said, Ubuntu 16.04 is not listed on the supported platform, the minimum is 20.04.

      See here the list of supported platforms.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • J Offline
        J Offline
        JoelA
        wrote on last edited by
        #3

        Thank you for the prompt response!
        I have moved to CentOS8 .2 (which is supported) and I now, after resolving package dependency errors, I get a different error:

        qt.qpa.wayland: Creating a fake screen in order for Qt not to crash

        I get a window but it is not responsive (menus are empty). Any thoughts as to how to solve this issue? I'm trying to run a graphical desktop application on a VM running CentOS 8.2.

        Thanks!

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Which desktop environment are you running ?
          From the looks of it, you have a Wayland server for the graphical rendering.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • J Offline
            J Offline
            JoelA
            wrote on last edited by
            #5

            I believe I'm running the default which is Wayland.

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Might be related to QTBUG-98010.

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved