I am running Python 2.7 (x64 Linux) and trying to convert a dict to a JSON object.
dict
>>> import sys >>> sys.version_info sys.ver
You may have another script in your Python path called "json", which you are importing by accident. You could resolve this either by renaming the one under your control or using
from __future__ import absolute_import