Details
-
User Story
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
6.3
-
None
Description
Apparently since release of PySide6 6.3 the RPATH seems to have broken in Linux (Manjaro/Arch).
In this setup pyside6 installs to
$HOME/.local/lib/python-<version>/site-packages
(also tried with pyside6-essentials).
Now the QtCore module is not found:
Python 3.10.4 (main, Mar 23 2022, 23:05:40) [GCC 11.2.0] on linux >>> from PySide6 import QtCore Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: cannot import name 'QtCore' from 'PySide6' (unknown location)
(same with `from PySide6.QtCore import Qt)
Note: Cross-checked this in a venv and it works! At least this explains nobody reported this yet. I still think installing in ~/.local should work alike.