Re: Error importing dbapi2 (SOLVED)...

2014-08-29 Thread Fred Stluka
I figured it out. Details: I had set environment variable PYTHONPATH to help Django find the sql_server.pyodbc files needed to make a connection to a Microsoft SQL Server DB. This was keeping SQLite from working properly. When I cleared the environment variable, SQLite works fine. I now get

Error importing dbapi2...

2014-08-27 Thread Camilo Torres
If you are running inside a virtualenv, assure you have the sqlite3 module installed inside the v-env, or run toggleglobalsitepackages inside the v-env. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop

Error importing dbapi2...

2014-08-25 Thread Fred Stluka
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',