- changed title to Pip cant install - DJANGO_SETTINGS_MODULE or call se ttings.configure() before accessing settings.
- edited description
Pip cant install - DJANGO_SETTINGS_MODULE or call se ttings.configure() before accessing settings.
Issue #84
resolved
C:\_Projects\django_abc\virtualenv\Scripts>pip3.5.exe install django-postman
Collecting django-postman
Using cached django-postman-3.5.0.zip
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\D1\AppData\Local\Temp\pip-build-h0gbpgru\django-postman\setup.py", line 5, in <module>
version=__import__('postman').__version__,
File "C:\Users\D1\AppData\Local\Temp\pip-build-h0gbpgru\django-postman\postman\__init__.py", line 7, in <module>
if getattr(settings, 'POSTMAN_I18N_URLS', False):
File "c:\_projects\django_abc\virtualenv\lib\site-packages\django\conf\__init__.py", line 53, in __getattr__
self._setup(name)
File "c:\_projects\django_abc\virtualenv\lib\site-packages\django\conf\__init__.py", line 39, in _setup
% (desc, ENVIRONMENT_VARIABLE))
django.core.exceptions.ImproperlyConfigured: Requested setting POSTMAN_I18N_URLS, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call se
ttings.configure() before accessing settings.
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\D1\AppData\Local\Temp\pip-build-h0gbpgru\django-postman\
Comments (3)
-
reporter -
repo owner - changed status to open
Known, fix in progress.
-
repo owner - changed status to resolved
Fixed in 3.5.1
- Log in to comment