使用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
>>>
有人可以帮我吗?
使用simplejson它会工作
# 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 simplejson
>>>
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句