Cannot import name simplejson - After installing simplejson
Your code isn't compatible with the version of Django you are using.
Django used to ship with simplejson
in django.utils
, but this was removed in Django 1.5:
django.utils.simplejson
Since Django 1.5 drops support for Python 2.5, we can now rely on the json module being available in Python’s standard library, so we’ve removed our own copy of simplejson. You should now import json instead of django.utils.simplejson.
Unfortunately, this change might have unwanted side-effects, because of incompatibilities between versions of simplejson – see the backwards-incompatible changes section. If you rely on features added to simplejson after it became Python’s json, you should import simplejson explicitly.
You should update the code in extdirect
's providers.py
to import json
instead, or use the version of Django it was designed to work with.