【发布时间】:2016-06-26 20:04:29
【问题描述】:
我在使用 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
>>>
有人可以帮我吗?
【问题讨论】:
-
除非你需要维护旧的东西,否则你应该升级你的 python 2.4 已经很旧了?