import platform,sqlite3 print("Oper Sys : %s %s" % (platform.system(), platform.release())) print("Platform : %s %s" % (platform.python_implementation(),platform.python_version())) print("SQLite : %s" % (sqlite3.sqlite_version))
When I run this code, the output contains the system version of sqlite3:
Oper Sys : Linux 3.2.0-4-amd64 Platform : CPython 3.4.2 SQLite : 3.7.13
After installing sqlite v3.8.6 in the $ {HOME} / opt {include, lib} section and installing this in my .bashrc:
export LD_LIBRARY_PATH="${HOME}/opt/lib"
I get the desired result:
Oper Sys : Linux 3.2.0-4-amd64 Platform : CPython 3.4.2 SQLite : 3.8.6
Note that the version of SQLite changes from 3.7.13 to 3.8.6
source share