What Python version are you using? The json module was introduced in 2.5. simplejson can be downloaded here: https://github.com/simplejson/simplejson
try:
import simplejson as json
except ImportError:
import json

