-
-
Save anonymous/560478e396afa1a289b1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(beta)m@T61p:~/tmp/beta$ pip install django-categories | |
Downloading/unpacking django-categories | |
Downloading django-categories-1.1.4.tar.gz (629kB): 629kB downloaded | |
Running setup.py egg_info for package django-categories | |
Traceback (most recent call last): | |
File "<string>", line 16, in <module> | |
File "/home/m/tmp/beta/build/django-categories/setup.py", line 2, in <module> | |
import categories | |
File "categories/__init__.py", line 23, in <module> | |
from categories import settings | |
File "categories/settings.py", line 4, in <module> | |
from django.db.models import Q | |
File "/home/m/tmp/beta/local/lib/python2.7/site-packages/django/db/__init__.py", line 11, in <module> | |
if settings.DATABASES and DEFAULT_DB_ALIAS not in settings.DATABASES: | |
File "/home/m/tmp/beta/local/lib/python2.7/site-packages/django/conf/__init__.py", line 52, in __getattr__ | |
self._setup(name) | |
File "/home/m/tmp/beta/local/lib/python2.7/site-packages/django/conf/__init__.py", line 45, in _setup | |
% (desc, ENVIRONMENT_VARIABLE)) | |
django.core.exceptions.ImproperlyConfigured: Requested setting DATABASES, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings. | |
Complete output from command python setup.py egg_info: | |
Traceback (most recent call last): | |
File "<string>", line 16, in <module> | |
File "/home/m/tmp/beta/build/django-categories/setup.py", line 2, in <module> | |
import categories | |
File "categories/__init__.py", line 23, in <module> | |
from categories import settings | |
File "categories/settings.py", line 4, in <module> | |
from django.db.models import Q | |
File "/home/m/tmp/beta/local/lib/python2.7/site-packages/django/db/__init__.py", line 11, in <module> | |
if settings.DATABASES and DEFAULT_DB_ALIAS not in settings.DATABASES: | |
File "/home/m/tmp/beta/local/lib/python2.7/site-packages/django/conf/__init__.py", line 52, in __getattr__ | |
self._setup(name) | |
File "/home/m/tmp/beta/local/lib/python2.7/site-packages/django/conf/__init__.py", line 45, in _setup | |
% (desc, ENVIRONMENT_VARIABLE)) | |
django.core.exceptions.ImproperlyConfigured: Requested setting DATABASES, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings. | |
---------------------------------------- | |
Command python setup.py egg_info failed with error code 1 in /home/m/tmp/beta/build/django-categories | |
Storing complete log in /home/m/.pip/pip.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment