Reply – Re: Problem import owlready2
Your Name
Subject
Message
or Cancel
In Reply To
Re: Problem import owlready2
— by Jiba Jiba
Hello,

> /usr/bin/sqlite3 -version => 3.21
> /usr/local/bin/sqlite3 -version => 3.21

This is for executable binaries, but you should rather check libraries (libsqlite3.so).

You can use LD_PRELOAD when running Python in order to specify the desired library.

SQLite3 is sometimes included in other binaries (= not used as a dynamic library). It may be the case for Python (not sure of that); in this case, you'll have to update/recompile Python too.

Kind regards,
Jean-Baptiste Lamy
MCF, LIMICS, Université Paris 13

> Hi,
>
> whereis sqlite3 give me :
>
> sqlite3: /usr/bin/sqlite3.7 /usr/bin/sqlite3 /usr/local/bin/sqlite3
> /usr/share/man/man1/sqlite3.1.gz
>
> /usr/bin/sqlite3 -version => 3.21
> /usr/local/bin/sqlite3 -version => 3.21
>
> effectively :
> print(sqlite3.sqlite_version) => 3.7.17
>
> do you know how to change path access from python to sqlite3 ?
>
> thanks for helping (again !)
>
>
>
>
>
> _______________________________________________
> If you reply to this email, your message will be added to the discussion below:
> http://owlready.8326.n8.nabble.com/Problem-import-owlready2-tp74p84.html
> To start a new topic under Owlready, email [hidden email]
> To unsubscribe from Owlready, visit