The dump function is part of the standard library json module, did you perhaps have a json.py in the current working directory overriding this or ended up overriding it some other way? Have a look at pydoc json to see where the json module is coming from.
The dump function is part of the standard library json module, did you perhaps have a json.py in the current working directory overriding this or ended up overriding it some other way? Have a look at pydoc json to see where the json module is coming from.