I'm getting error: django.core.exceptions.ImproperlyConfigured: Error loading either pysqlite2 or sqlite3 modules (tried in that order): cannot import name dbapi2
Any suggestions? Details: My settings.py contains: DATABASE = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': '/Users/fred/fred/HHL/HHLWeb/sqlite3.db' } } Works fine with other DBs (MySQL, MS SQL Server, etc.), but now I'm trying to switch to SQLite for faster testing. From the command line, I can see that sqlite3 is installed (by default as part of the Django install), but seems to not contain dbapi2: >>> import sqlite3 >>> from sqlite3 import dbapi2 Traceback (most recent call last): File "<console>", line 1, in <module> ImportError: cannot import name dbapi2 Any ideas for me? Any suggestions on how to narrow down the problem? Any more info I should give you? Thanks! --Fred -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/53FB3A82.3060808%40bristle.com. For more options, visit https://groups.google.com/d/optout.