django-tracking icon indicating copy to clipboard operation
django-tracking copied to clipboard

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

Open seenureddy opened this issue 10 years ago • 3 comments

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

seenureddy avatar Sep 23 '15 14:09 seenureddy

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

ankitgoyalgithub avatar Nov 14 '15 20:11 ankitgoyalgithub

Same here. Did you find a solution?

arthurfaccioly avatar Aug 08 '17 12:08 arthurfaccioly

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

johnsliao avatar Nov 27 '17 20:11 johnsliao