-
-
Save fxdgear/00354247179d3035acca 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
(theboxhq.com)vagrant@precise64:~/theboxhq.com/src/boxhq$ sudo pip install django-articles==2.4.1 | |
Downloading/unpacking django-articles==2.4.1 | |
Running setup.py egg_info for package django-articles | |
Traceback (most recent call last): | |
File "<string>", line 16, in <module> | |
File "/home/vagrant/theboxhq.com/build/django-articles/setup.py", line 2, in <module> | |
from articles import __version__ | |
File "articles/__init__.py", line 5, in <module> | |
import listeners | |
File "articles/listeners.py", line 3, in <module> | |
from django.db.models import signals, Q | |
File "/home/vagrant/theboxhq.com/src/django/django/db/__init__.py", line 11, in <module> | |
if settings.DATABASES and DEFAULT_DB_ALIAS not in settings.DATABASES: | |
File "/home/vagrant/theboxhq.com/src/django/django/conf/__init__.py", line 52, in __getattr__ | |
self._setup(name) | |
File "/home/vagrant/theboxhq.com/src/django/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/vagrant/theboxhq.com/build/django-articles/setup.py", line 2, in <module> | |
from articles import __version__ | |
File "articles/__init__.py", line 5, in <module> | |
import listeners | |
File "articles/listeners.py", line 3, in <module> | |
from django.db.models import signals, Q | |
File "/home/vagrant/theboxhq.com/src/django/django/db/__init__.py", line 11, in <module> | |
if settings.DATABASES and DEFAULT_DB_ALIAS not in settings.DATABASES: | |
File "/home/vagrant/theboxhq.com/src/django/django/conf/__init__.py", line 52, in __getattr__ | |
self._setup(name) | |
File "/home/vagrant/theboxhq.com/src/django/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/vagrant/theboxhq.com/build/django-articles | |
Storing complete log in /home/vagrant/.pip/pip.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment