pythonlibreoffice

How do you install or activate PyUno in LibreOffice?


How do you make Python (any Python) know about PyUno in LibreOffice?

When I do:

import uno

python says that it knows no module "uno". (This question came up re. this question.)


Solution

  • For Debian, Ubuntu, and derivates:

    sudo apt install libreoffice-script-provider-python