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. PySide6 is missing for Raspberry Pi OS (32-bit) (based on Debian Bookworm) from 2024-03-15
Forum Updated to NodeBB v4.3 + New Features

PySide6 is missing for Raspberry Pi OS (32-bit) (based on Debian Bookworm) from 2024-03-15

Scheduled Pinned Locked Moved Unsolved Qt for Python
3 Posts 2 Posters 1.1k Views 2 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.
  • B Offline
    B Offline
    BodoTe
    wrote on 2 Jun 2024, 11:44 last edited by
    #1

    Using Raspberry Pi 4, Raspberry, Pi Imager and Raspberry Pi OS (32-bit) (based on Debian Bookworm) from 2024-03-15,
    after sudo apt-get update sudo apt-get upgrade und sudo apt full-upgrade i did:

    python3 -m venv myenv && source myenv/bin/activate && pip3 install pyside6
    

    does not work :

    ERROR: Could not find a version that satisfies the requirement pyside6 (from versions: none)
    ERROR: No matching distribution found for pyside6
    

    nor does:
    apt-cache search PySide6 does not find anything to install

    I tried to compile Qt6, with success instead, but then tried to build PySide6 by myself using this instructions:
    https://doc.qt.io/qtforpython-6/gettingstarted/linux.html
    but this did not work either because of :

    [INFO]: Configuring module shiboken6 (/home/bodo/pyside-setup/sources/shiboken6)...
    -- The C compiler identification is GNU 12.2.0
    -- The CXX compiler identification is GNU 12.2.0
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Check for working C compiler: /usr/bin/cc - skipped
    -- Detecting C compile features
    -- Detecting C compile features - done
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Check for working CXX compiler: /usr/bin/c++ - skipped
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    -- SHIBOKEN_IS_CROSS_BUILD: FALSE
    -- SHIBOKEN_BUILD_LIBS: ON
    -- SHIBOKEN_BUILD_TOOLS: ON
    -- BUILD_TESTS: 1
    -- Using Qt 6
    -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
    -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
    -- Found Threads: TRUE  
    -- Performing Test HAVE_STDATOMIC
    -- Performing Test HAVE_STDATOMIC - Failed
    -- Performing Test HAVE_STDATOMIC_WITH_LIB
    -- Performing Test HAVE_STDATOMIC_WITH_LIB - Success
    -- Found WrapAtomic: TRUE  
    CMake Error at cmake/ShibokenHelpers.cmake:194 (_message):
    Call Stack (most recent call first):
      /usr/lib/llvm-14/lib/cmake/clang/ClangTargets.cmake:756 (message)
      /usr/lib/cmake/clang-14/ClangConfig.cmake:19 (include)
      cmake/ShibokenHelpers.cmake:170 (find_package)
      cmake/ShibokenSetup.cmake:38 (setup_clang)
      CMakeLists.txt:14 (include)
    

    CMakeError.log:

    Performing C++ SOURCE FILE Test HAVE_STDATOMIC failed with the following output:
    Change Dir: /home/bodo/pyside-setup/build/myenv/build/shiboken6/CMakeFiles/CMakeScratch/TryCompile-aJvDOe
    
    Run Build Command(s):/usr/bin/ninja cmTC_ba179 && [1/2] Building CXX object CMakeFiles/cmTC_ba179.dir/src.cxx.o
    [2/2] Linking CXX executable cmTC_ba179
    FAILED: cmTC_ba179 
    : && /usr/bin/c++   CMakeFiles/cmTC_ba179.dir/src.cxx.o -o cmTC_ba179   && :
    /usr/bin/ld: CMakeFiles/cmTC_ba179.dir/src.cxx.o: in function `main':
    src.cxx:(.text+0x248): undefined reference to `__atomic_load_8'
    /usr/bin/ld: CMakeFiles/cmTC_ba179.dir/src.cxx.o: in function `std::__atomic_base<long long>::operator++() volatile':
    src.cxx:(.text._ZNVSt13__atomic_baseIxEppEv[_ZNVSt13__atomic_baseIxEppEv]+0x28): undefined reference to `__atomic_fetch_add_8'
    collect2: error: ld returned 1 exit status
    ninja: build stopped: subcommand failed.
    
    1 Reply Last reply
    0
    • B Offline
      B Offline
      BodoTe
      wrote on 3 Jun 2024, 18:08 last edited by BodoTe 6 Mar 2024, 18:09
      #2

      turned out pip3 install pyside6 works only on Raspberry Pi OS 64-bit, but not 32-bit

      1 Reply Last reply
      0
      • S Offline
        S Offline
        SGaist
        Lifetime Qt Champion
        wrote on 3 Jun 2024, 19:01 last edited by
        #3

        Hi and welcome to devnet,

        Pre-built binary packages for Qt (and thus PySide) have not be provide in 32 bit (be it arm or x86) for several years already.

        That said, from a quick look at that missing symbol, you are not alone hitting it but for others it was with Intel's RealSense library. This answer seem to have helped some people go further.

        Hope it helps

        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
        1

        1/3

        2 Jun 2024, 11:44

        • Login

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