[Baypiggies] Python & Django: No module named _sqlite3

William Deegan bdbaddog at gmail.com
Mon Aug 16 20:33:38 CEST 2010


Tom,

You may want to take a look at setuptools and easy_install for installing
modules.
It will pull the dependencies for you (like CPAN).
In this case your python build may not have picked up the location you
installed sqlite3 at.

./configure --help on python to see if there's a flag to specify where
sqlite3 lives.
You'll likely need to rebuild.

-Bill

On Mon, Aug 16, 2010 at 11:13 AM, Rami Chowdhury
<rami.chowdhury at gmail.com>wrote:

> Hey Tom,
>
> Welcome to Python!
>
> On Aug 16, 2010, at 23:43 , Tom Simons wrote:
>
>
> What am I missing in the installs below? The Django "manage.py syncdb" gets
> error "No module named _sqlite3".
>
> Does Django installation require more than the link to
> Python-2.7/lib/python2.7/site-packages?
>
>
> It shouldn't -- what does your Python path (sys.path) look like?
>
>
>
> -------------
> Rami Chowdhury
> "Never assume malice when stupidity will suffice." -- Hanlon's Razor
> 408-597-7068 (US) / 07875-841-046 (UK) / 0189-245544 (BD)
>
>
> _______________________________________________
> Baypiggies mailing list
> Baypiggies at python.org
> To change your subscription options or unsubscribe:
> http://mail.python.org/mailman/listinfo/baypiggies
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/baypiggies/attachments/20100816/675b5445/attachment.html>


More information about the Baypiggies mailing list