Django storages: Import Error - no module named storages

tldr picture tldr · Apr 22, 2014 · Viewed 33.5k times · Source

I'm trying to use Django's storages backend (for BotoS3)

settings.py:

INSTALLED_APPS = (
...
'storages',
...
)

as shown in http://django-storages.readthedocs.org/en/latest/index.html.

and, requirements.txt:

django-storages==1.1.8

But am getting the error:

django.core.exceptions.ImproperlyConfigured: ImportError storages: No module named storages

What am I doing wrong?

Answer

shaktimaan picture shaktimaan · Apr 22, 2014

There is a possibility that you are in a virtualenv and installing the package outside the virtualenv into the default python installation. Make sure you are not doing that.