Python-модуль ставится для конкретной версии Python. Как правило, той, что стоит по умолчанию. С OOo, AFAIK, “своя” версия Python не идет.
Например, для Debian Etch, это Py2.4:
j2a@moby:~$ dpkg -l | grep uno
ii python-uno 2.0.4-7 Python interface for OpenOffice.org
j2a@moby:~$ python2.3
Python 2.3.5 (#2, Oct 18 2006, 23:04:45)
[GCC 4.1.2 20061015 (prerelease) (Debian 4.1.1-16.1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import uno
Traceback (most recent call last):
File "<stdin>", line 1, in ?
ImportError: No module named uno
j2a@moby:~$ python2.4
Python 2.4.4 (#2, Oct 20 2006, 00:23:25)
[GCC 4.1.2 20061015 (prerelease) (Debian 4.1.1-16.1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import uno
j2a@moby:~$ python2.5
Python 2.5 (release25-maint, Dec 3 2006, 19:42:24)
[GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-20)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import uno
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named uno