[Thuban-list] Re: No module sqlite in Mandrake 10

Martin Schulze joey at infodrom.org
Thu Mar 11 07:37:23 CET 2004


Servio Tulio Pires Amarante wrote:
> I have compiled and successful installed Thuban, but it does start saying 
> that:
> $ thuban
> Traceback (most recent call last):
>   File "/usr/local/bin/thuban", line 20, in ?
>     import Thuban.UI.main
>   File "/usr/local//lib/thuban/Thuban/UI/main.py", line 18, in ?
>     from application import ThubanApplication
>   File "/usr/local//lib/thuban/Thuban/UI/application.py", line 26, in ?
>     from Thuban.Model.session import create_empty_session
>   File "/usr/local//lib/thuban/Thuban/Model/session.py", line 25, in ?
>     from data import ShapefileStore
>   File "/usr/local//lib/thuban/Thuban/Model/data.py", line 23, in ?
>     import transientdb
>   File "/usr/local/lib/thuban/Thuban/Model/transientdb.py", line 21, in ?
>     from sqlite import connect
> ImportError: No module named sqlite
> 
> I have sqlite installed and running fine here. I have tried it with both 
> rebuilt rpm or tarball packages. Any cue on what is going on?

Do you have it's Python binding installed as well?  Without it,
Python can't access it.  You'll find the source here:

http://pysqlite.sourceforge.net/downloads/

Python is looking for the Python module sqlite, not for the separate
sqlite package.

Regards,

	Joey

-- 
There are lies, statistics and benchmarks.




More information about the Thuban-list mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)