Python 2.5 and sqlite

Thorsten Kampe thorsten at thorstenkampe.de
Wed Nov 12 11:14:29 CET 2008


* timotoole at gmail.com (Wed, 12 Nov 2008 01:27:01 -0800 (PST))
> Python (2.5.1) was compiled from source on the webserver that I use,
> without an associated sqlite present on the machine, so trying "import
> sqlite3" in a python application gives an error, but aside from that
> python is mostly behaving itself. Again further clarification, the
> webserver is a sun machine, my machine is linux and all drives of all
> machine in the network are mounted, so a ssh,telnet,rlogin is not
> required to gain access to other machines.
> 
> Now with that out of the way, I'm still not clear if I can install a
> copy of sqlite on my local machine and get that to work with python on
> the webserver? Possibly via pysqlite?

No, if Python was compiled without SQLite support or pysqlite is not 
installed on that machine it will not run anything SQLite related.

Thorsten



More information about the Python-list mailing list