I am having python 2.7 installed on my windows 7. I have installed Libre Office 3.4 which comes with python 2.6. Hence i am not able to import uno and unohelper even after setting all environment variables.
I need python 2.7 thus cannot revert back to python 2.6, as i earlier had python 2.6 working with open office 3. I recently changed to LibreOffice 3.4 and Python 2.7(ActivePython 2.7).
Is there any way i can make python 2.7 to import uno and unohelper of LibreOffice 3.4
Thanks in advance.
ubuntu 13.10 and later , you need to install openoffice 4.1.1.
uninstall libreoffice and openoffice
install Apache OpenOffice 4.1.1 on 64 bit Ubuntu
install Apache OpenOffice 4.1.1 on 32 bit Ubuntu
touch uno.pth for python2.7
.pyc
files and C extensions are not compatible between 2.6 and 2.7 Python versions. Install pylauncher and use python2.6 shebang in scripts that work with Libre Office.From the link provided in the answer to OpenOffice.org development with pyUno for Windows—which Python? question:
In ubuntu 14.04
open the terminal and run the following command...