Skip to content
Advertisement

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.)

Advertisement

Answer

Here’s what I did:

inside the LibreOffice directory, there is a “program” directory with a python.exe, if I use that python (which is at version 2.6.1), I can import uno.

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement