PySide6 is missing for Raspberry Pi OS (32-bit) (based on Debian Bookworm) from 2024-03-15
-
Using Raspberry Pi 4, Raspberry, Pi Imager and Raspberry Pi OS (32-bit) (based on Debian Bookworm) from 2024-03-15,
aftersudo apt-get updatesudo apt-get upgradeundsudo apt full-upgradei did:python3 -m venv myenv && source myenv/bin/activate && pip3 install pyside6does not work :
ERROR: Could not find a version that satisfies the requirement pyside6 (from versions: none) ERROR: No matching distribution found for pyside6nor does:
apt-cache search PySide6does not find anything to installI 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. -
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