使用 python json 模块时出现以下错误
# python
Python 2.4.3 (#1, Jan 11 2013, 02:09:42)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-54)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import json
Traceback (most recent call last):
File "<stdin>", line 1, in ?
ImportError: No module named json
>>>
有人可以帮我吗?
原文由 Wonderhost 发布,翻译遵循 CC BY-SA 4.0 许可协议
使用 simplejson 它会工作