Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
seenureddy opened this issue Sep 23, 2015 · 3 comments
Open

Comments

@seenureddy
Copy link

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

@ankitgoyalgithub
Copy link

Getting ImportError: No module named 'listeners' while installing this module and also couldn't find any such module listeners which satisfies the requirement

@arthurfaccioly
Copy link

Same here. Did you find a solution?

@johnsliao
Copy link

pip install git+https://github.com/bashu/django-tracking.git

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants