I am trying to use the Django storage backend (for BotoS3)
settings.py:
INSTALLED_APPS = ( ... 'storages', ... )
as shown in http://django-storages.readthedocs.org/en/latest/index.html .
and, needs.txt:
django-storages==1.1.8
But I get the error:
django.core.exceptions.ImproperlyConfigured: ImportError storages: No module named storages
What am I doing wrong?
There is a possibility that you are in a virtual environment and installing a package outside of virtualenv in a python installation by default. Make sure you do not.
env . , .txt. , !
.
pip install django-storages Collecting django-storages Downloading django_storages-1.6.5-py2.py3-none-any.whl (47kB) 100% |################################| 51kB 358kB/s Installing collected packages: django-storages Successfully installed django-storages-1.6.5
Pipenv, , django-,
pipenv django-
Pipfile Pipfile.lock.
pip virtualenv require.txt , . , Pipfile. , .
Source: https://habr.com/ru/post/1537429/More articles:Will there be Flurry to start / end Android balance for sessions? - androidhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1537425/what-to-do-if-string-sent-to-sqlcommandexecutenonquery-is-too-long&usg=ALkJrhjq7z4ds8ZR94_eouXsuO7ffBxfRwUmbraco 7 mvc how to get current page id - asp.net-mvcDisplay various scenes sharing resources on multiple canvases - javascriptProgrammatically retrieve a website URL from an Azure website - c #Two-way data transfer meteor for form validation - javascriptIs it possible to refer to chef attributes from the same attribute file? - chefUser Principle in SignalR Hub - c #Why can the `as` operator raise an unpleasant EAccessViolation instead of the usual EIntfCastError? - debuggingC ++ 11 Custom Literals with Microsoft Visual Studio 2013 - c ++All Articles