How to install and use pyodbc package with OpenOffice

Creating tables and queries
Post Reply
b_peter_7
Posts: 3
Joined: Sun May 15, 2022 2:58 am

How to install and use pyodbc package with OpenOffice

Post by b_peter_7 »

Hello OpenOffice community!

I have a question.
How to install and use pyodbc package with OpenOffice.
I use python 3.9 with anaconda, and I have already installed pyodbc but OpenOffice uses it's own python interpreter, under c:\Program Files (x86)\OpenOffice 4\program\python.exe what is a 2.7 version.

I need pyodbc in the 2.7 version also.
Could you please help?

Best regards,
Peter
OpenOffice 3.1 on Windows 10
User avatar
Zizi64
Volunteer
Posts: 11364
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: how to install and use pyodbc package with OpenOffice

Post by Zizi64 »

Try the LibreOffice.

My LO 7.3.2 Prortable has Python 3.8.10 version inside the installed portable directory.
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
Mountaineer
Posts: 318
Joined: Sun Sep 06, 2020 8:27 am

Re: how to install and use pyodbc package with OpenOffice

Post by Mountaineer »

As already told: If you want to use python for something serious, switch to LO because Python2 gets no updates since the last year. So don't start anything new.

Hints on installation are here:
https://github.com/mkleehammer/pyodbc/wiki/Install

Your next problem will be the missing pip, as Aoo/Lo ships without. In other cases I manually installed the necessary files, but when it comes to wheels (python) it gets complicated....

J.
OpenOffice 3.1 on Windows Vista
Post Reply