Giter Site home page Giter Site logo

Comments (6)

ajcrowe avatar ajcrowe commented on July 20, 2024

I am also seeing this on a similar setup.

django.core.cache.backends.base.InvalidCacheBackendError: Could not find backend 'redis_cache.cache.RedisCache': 'tuple' object has no attribute 'major'

Debian Squeze 6.0

  • Python 2.6.6
  • django-redis 3.1.2
  • django 1.4.2
  • redis 2.7.2

from django-redis.

niwinz avatar niwinz commented on July 20, 2024

I'm investigating it may be happening. Sorry it took to respond. For some strange reason, github notifications had not received so far.

Thanks!

from django-redis.

niwinz avatar niwinz commented on July 20, 2024

I confirm, the code is an incompatibility with python 2.6. Currently, django-redis is tested only with python 2.7 and python 3.3.

I'll see if I can make it work and pass all tests with python 2.6, but I recommend upgrading to 2.7

from django-redis.

niwinz avatar niwinz commented on July 20, 2024

Fixed on d616764

Passed all tests with python2.6 but may have different behaviors hidden.
Now django-redis is compatible with python 2.6 (django-redis 3.1.3 is released)

A lot of thanks for report this issue.

from django-redis.

jdelafon avatar jdelafon commented on July 20, 2024

In case it helps anybody, I had this issue when calling "python manage.py", even when it looks into looks into python3.5/site-packages and "python" opens Python 3.5.1. Instead, "python3 manage.py" works fine (still 3.5.1). Weird.

from django-redis.

grv07 avatar grv07 commented on July 20, 2024

pip install django-redis, solve my issue

from django-redis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.