如何在 Ubuntu 14.04 中安装 python-uno 包?

如何在 Ubuntu 14.04 中安装 python-uno 包?

安装 python-uno 时出现以下错误:

Package python-uno is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  libreoffice-script-provider-python

E: Package 'python-uno' has no installation candidate

答案1

由于它要求 libreoffice-script-provider-python,

 sudo apt-get install libreoffice-script-provider-python

这将安装 python3-uno 包,以及 LO 使用 UNO 的接口。

答案2

打开终端并运行以下命令...

sudo apt-get 安装 libreoffice python-genshi python-cairo python-lxml python-setuptools sudo apt-get 安装 libreoffice-script-provider-python

easy_install uno

相关内容