Wrong installation path for Python package
Pastix installs the Python package to lib/python/pypastix. This path is wrong, Python does not look in lib/python
when importing modules. The correct path should be something like lib/python3.11/site-packages/pypastix
, depending on the Python interpreter version. This command may help:
python -c "import site; print(site.getsitepackages()[0])"
/usr/lib/python3.11/site-packages