On Tue, Apr 7, 2009 at 8:39 PM, George <[email protected]> wrote: > > Hi- > > I'm pretty sure this shouldn't happen; but the error is no doubt my > fault. Maybe something about the doc doesn't apply to my system? I > have pkgsrc python2.5 and Django 1.0.2 >
What sort of a system is this? I'm not familiar with pkgsrc but it seems to have provided you with an incomplete Python package, or your source build produced an incomplete result. > > # python2.5 manage.py syncdb > Traceback (most recent call last): > [snip] > File "/usr/pkg/lib/python2.5/site-packages/django/db/__init__.py", > line 34, in <module> > (settings.DATABASE_ENGINE, ", ".join(map(repr, > available_backends)), e_user) > django.core.exceptions.ImproperlyConfigured: 'sqlite3' isn't an > available database backend. Available options are: 'creation.pyo', > 'dummy', 'postgresql', 'util.pyo' > Error was: No module named _sqlite3 > > # ls /usr/pkg/lib/python2.5/sqlite3/ > dbapi2.py dbapi2.pyc dbapi2.pyo __init__.py __init__.pyc > __init__.pyo test > You've got the Python part of sqlite, but you're missing the _sqlite3.so dynamic library. On my (Ubuntu) machine this is found in /usr/lib/python2.5/lib-dynload. This is generally provided/built as part of Python 2.5, so your Python build/installation seems to be a bit broken. Karen --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---

