secret
Created

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
(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

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.