Skip to content

python setup.py egg_info" failed with error code 1 in django-tracking #22

@seenureddy

Description

@seenureddy

I'm tying to install the django-tracking repository as follows in my requirements.txt

-e git+https://github.com/bashu/django-tracking@092c42a36137b97be364299f3746fdf68f6df6a0#egg=django-tracking
I'm getting the following error I have no idea how to solve this

Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 20, in
File "/Users/user_name/venvs/project/src/django-tracking/setup.py", line 6, in
import tracking
File "tracking/init.py", line 1, in
import listeners
File "tracking/listeners.py", line 6, in
from django.core.cache import cache
File "/Users/user_name/venvs/project/lib/python2.7/site-packages/django/core/cache/init.py", line 34, in
if DEFAULT_CACHE_ALIAS not in settings.CACHES:
File "/Users/user_name/venvs/project/lib/python2.7/site-packages/django/conf/init.py", line 46, in getattr
self._setup(name)
File "/Users/user_name/venvs/project/lib/python2.7/site-packages/django/conf/init.py", line 40, in _setup
% (desc, ENVIRONMENT_VARIABLE))
django.core.exceptions.ImproperlyConfigured: Requested setting CACHES, 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 /Users/user/venvs/project/src/django-tracking

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions