Using sqlite3 with python under LO

The standard sqlite3 module is not installed with the python package in LO 5.1

Is there any reason why this is not installed by default ?

And how can I install sqlite3 module in the LO 5.1 / python directory so its available in with python and LO 5.1

Thanks

K

I not understand this too!!, but, this problem is only in Windows

You can use this driver: Download — APSW 3.36.0-r1 documentation

Best regards

Yes, Win10.
Sorry I forgot to say

No, not install…

Only download, and extract correct versión for LibreOffice, LibreOffice use Python 3.3, and use directly in your pythonpath into user folder…

Best reggards

Okay, I had to install v3.3, same as the one installed with LO.
How I could only update the version installed at C:/python33/ and not the one at the LO directory.

Anyway, I just copied the sqlite directory in C:/python33/Lib to C:/Libreoffice51/Lib and it seems to work just fine.

However the directory structure between the 2 (same) Pythons are differnt, go figure…

anyway, thanks a bunch

K

ok, in my tests

  • 1.- If you can install the same version Py3 and LibreOffice (3.3), yes, work fine if copy libraries
  • 2.- If not is posible install Py3, work fine another drivers

ok, in my tests

1.- If you can install the same version Py3 and LibreOffice (3.3), yes, work fine if copy libraries

2.- If not is posible install Py3, work fine another drivers

Thanks, I’m pretty sure its all working just fine.
Help much appreciated :slight_smile:

Thanks for the link.

However because LO python is not registered in the Win registry, it will not install.

K