Django_pylibmc Complains Under Django 1.7 And Python 3.4
Solution 1:
That library does not appear to be compatible with Python 3.
However, as Amir suggests, there is no need to use it anyway; Django comes with a pylibmc backend, as described in the documentation.
Solution 2:
I know you are following the Heroku docs which suggest using django-pylibmc, but Django supports Pylibmc out of the box with django.core.cache.backends.memcached.PyLibMCCache
. Since these are just python wrappers over the pylibmc C libraries there should be really no reason to go with django-pylibmc.
Also if you look at the README (https://github.com/jbalogh/django-pylibmc#requirements) for django-pylibmc it states that it was written and tested with Python 2.7, so the use of Python 3 is also problematic here.
I applaud your efforts for using Python 3 with Django, but please make sure that all your third party apps are compatible and I highly recommend reading this from the Django docs: https://docs.djangoproject.com/en/1.7/topics/python3/
Post a Comment for "Django_pylibmc Complains Under Django 1.7 And Python 3.4"