Hello *,

I've installed PySide6

grozin@localhost ~ $ eix dev-python/pyside
[I] dev-python/pyside
Available versions: (6) 6.10.1-r5(6/6.10.1)^t (~)6.10.2(6/6.10.2)^t **6.9999(6/6.9999)*l^t {3d bluetooth charts +concurrent +core +dbus debug designer doc gles2-only +gui help httpserver location multimedia +network network-auth nfc numpy +opengl pdfium positioning +printsupport qml quick quick3d remoteobjects scxml sensors serialbus serialport spatialaudio speech +sql svg test +testlib tools uitools webchannel webengine websockets webview +widgets +xml LLVM_SLOT="16 17 18 19 20 +21" PYTHON_TARGETS="python3_11 python3_12 python3_13 python3_14"} Installed versions: 6.10.2(6/6.10.2)^t(04:32:57 PM 02/05/2026)(concurrent core dbus gui network opengl printsupport qml sql svg testlib webchannel widgets xml -3d -bluetooth -charts -debug -designer -doc -gles2-only -help -httpserver -location -multimedia -network-auth -nfc -numpy -pdfium -positioning -quick -quick3d -remoteobjects -scxml -sensors -serialbus -serialport -spatialaudio -speech -test -tools -uitools -webengine -websockets -webview LLVM_SLOT="21 -16 -17 -18 -19 -20" PYTHON_TARGETS="python3_12 python3_13 -python3_11 -python3_14")
     Homepage:            https://wiki.qt.io/PySide6
     Description:         Python bindings for the Qt framework

and am trying to use pyside6-uic

grozin@localhost ~ $ pyside6-uic setCustomAnchor.ui -o setCustomAnchor.py
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.13/pyside6-uic", line 8, in <module>
    sys.exit(uic())
             ~~~^^
File "/usr/lib/python3.13/site-packages/PySide6/scripts/pyside_tool.py", line 91, in uic
    qt_tool_wrapper("uic", ['-g', 'python'] + sys.argv[1:], True)
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/site-packages/PySide6/scripts/pyside_tool.py", line 60, in qt_tool_wrapper
    returncode = subprocess.call(cmd)
  File "/usr/lib/python3.13/subprocess.py", line 395, in call
    with Popen(*popenargs, **kwargs) as p:
         ~~~~~^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/subprocess.py", line 1039, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                        pass_fds, cwd, env,
                        ^^^^^^^^^^^^^^^^^^^
    ...<5 lines>...
                        gid, gids, uid, umask,
                        ^^^^^^^^^^^^^^^^^^^^^^
                        start_new_session, process_group)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/subprocess.py", line 1876, in _execute_child
    self._posix_spawn(args, executable, env, restore_signals, close_fds,
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                      p2cread, p2cwrite,
                      ^^^^^^^^^^^^^^^^^^
                      c2pread, c2pwrite,
                      ^^^^^^^^^^^^^^^^^^
                      errread, errwrite)
                      ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/subprocess.py", line 1820, in _posix_spawn
    self.pid = os.posix_spawn(executable, args, env, **kwargs)
               ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3.13/site-packages/PySide6/Qt/libexec/uic'

Indeed,

grozin@localhost ~ $ ls /usr/lib/python3.13/site-packages/PySide6/Qt/
lib64  modules

Do I have to install pyside with some extra USE flag[s]? If, without extra USE flags, pyside6-uic does not work, why install this broken script at all?

Andrey

Reply via email to