How do you install or activate PyUno in LibreOffice?

假装没事ソ 提交于 2019-11-30 21:04:34

As said in the response to your comment there: it's an optional installable component for OpenOffice. See the Introduction to Python on OOo page in OpenOffice's Wiki for installation details

I am having the same issue with ubuntu 14.04 and python 2.7.6.

But if you are using ubuntu 12.04, try using sudo apt-get install python-uno.

Peter Krauss

(UPDATING for 2014's)

Perhaps the most used UNO application is document convertion... For this task, in nowadays, you not need UNO, you can use directly

libreoffice --convert-to

About UNO itself, see the new home page, http://api.libreoffice.org/

A good example of using python3-uno (or python-uno) is the Docvert conversor (Docvert for py2).

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.

Try importing the libre office python extension.

yum install libreoffice-pyuno

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!