Ask Your Question
0

Using sqlite3 with python under LO

asked 2016-06-14 14:05:17 +0200

SkowGoing gravatar image

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

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
0

answered 2016-06-14 15:32:03 +0200

mauricio gravatar image

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

You can use this driver: https://rogerbinns.github.io/apsw/dow...

Best regards

edit flag offensive delete link more

Comments

Yes, Win10. Sorry I forgot to say

SkowGoing gravatar imageSkowGoing ( 2016-06-15 00:12:25 +0200 )edit

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

mauricio gravatar imagemauricio ( 2016-06-15 04:56:23 +0200 )edit

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

SkowGoing gravatar imageSkowGoing ( 2016-06-15 09:31:52 +0200 )edit

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
mauricio gravatar imagemauricio ( 2016-06-16 01:54:44 +0200 )edit

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

mauricio gravatar imagemauricio ( 2016-06-16 01:54:55 +0200 )edit

Thanks, I'm pretty sure its all working just fine. Help much appreciated :-)

SkowGoing gravatar imageSkowGoing ( 2016-06-21 11:05:33 +0200 )edit
0

answered 2016-06-15 00:24:33 +0200

SkowGoing gravatar image

Thanks for the link.

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

K

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2016-06-14 14:05:17 +0200

Seen: 323 times

Last updated: Jun 15 '16