Как мне установить пакет 'python-uno'?

У меня был скрипт, он работает с пакетом python-uno в Ubuntu 12.04 lts. Скрипт написан на языке Python и работает с OOo для редактирования файлов XLS.

Теперь я обновился до 13.10, и кажется, что ООН не работает над этим выпуском.

Есть ли другое решение, которое работает как python-uno? Или как я могу узнать, когда UNO будет доступен для 13.10? попытался установить python-uno из командной строки, и я показываю это сообщение:

peiman@digidoc:~$ sudo apt-get install python-uno
[sudo] password for peiman:
Reading package lists... Done
Building dependency tree
Reading state information... Done
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
3
задан 26 October 2014 в 00:38

2 ответа

Если вы прочитаете сообщение, оно говорит:

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

Следовательно, что делать, вместо python-uno установите libreoffice-script-provider-python вместо:

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

Это установит python3-uno и интерфейс для LO для использования UNO.

python-uno пакет был удален:

libreoffice (1:4.1.0-2ubuntu1) saucy; urgency=low

  * unfuzz Ubuntu palette patch
  * remove sessioninstaller for wizards patch -- they are all python now
  * remove python-uno (Python 2 bridge)
  * trying to remove the workdir before installing on ppa builds to squeeze in
    size requirements
  * smaller src-tarballs
  * do not run subsequentchecks in build anymore, as we can run them as an
    autopkgtest, which is better, and eases distress caused by PPA buildds
    being storage contrained
  * use system orcus for real
  * remove double echo
  * merge with upstream
  * use system lpsolve and graphite
  * kill of csh stuff for good
  * clean up dupes in -core breaks against -evolution
  * remove dbghelp.dll binary from tarball creation
  * silence lintian on the copyright file
  * make -dbg use python3-uno proper
  * fix build against poppler 0.23/0.24

 -- Bjoern Michaelsen   Thu, 01 Aug 2013 20:17:26 +0200
0
ответ дан 26 October 2014 в 00:38
sudo apt-get install libreoffice python-genshi python-cairo python-lxml python-setuptools
sudo apt-get install libreoffice-script-provider-python
easy_install uno
0
ответ дан 26 October 2014 в 00:38

Другие вопросы по тегам:

Похожие вопросы: