django-redis-cache icon indicating copy to clipboard operation
django-redis-cache copied to clipboard

Regression cannot import name 'six'

Open thenewguy opened this issue 4 years ago • 3 comments

   File "/home/vagrant/.tox/py36/lib/python3.6/site-packages/redis_cache/utils.py", line 5, in <module>
     from django.utils import six
 ImportError: cannot import name 'six'

Pip freeze shows:

 django-redis-cache==2.1.3

Noticed someone else mentioned it here: https://github.com/sebleier/django-redis-cache/issues/173#issuecomment-701633501

thenewguy avatar Sep 30 '20 22:09 thenewguy

I pinned to django-redis-cache==2.1.0 in my constraints and the issue went away

thenewguy avatar Sep 30 '20 22:09 thenewguy

I too had to pin to django-redis-cache==2.1.1. The 2.1.3 has the ImportError described

bellini666 avatar Oct 01 '20 16:10 bellini666

Seems to be this issue i've just opened: https://github.com/sebleier/django-redis-cache/issues/196

Installing with the --no-binary option or through git reference (pip install git+https://github.com/sebleier/django-redis-cache.git) is a good workaround.

marek-vybiral avatar Oct 02 '20 12:10 marek-vybiral