Regression: `import uno` causes `No module named 'pyuno'`
Description:
uno
is the Libre Office API provided by the package. Currently, launching python and executing import uno
causes the error. This is a regression, it certainly worked in the past, but since I don't use office suite actively, I'd say last time I know it's worked is like a few years back.
Workaround provided by the LO developers: exporting a PYTHONPATH=/usr/lib/libreoffice/program/:$PYTHONPATH
variable.
Additional info:
- package version(s): 24.8.0-3
Steps to reproduce:
python3 -c 'import uno'
Expected
No output
Actual
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python3.12/site-packages/uno.py", line 19, in <module>
import pyuno
ModuleNotFoundError: No module named 'pyuno'
Edited by Konstantin