python - 如何为 Python 安装 SimpleJson 包

标签 python simplejson

http://pypi.python.org/pypi/simplejson

我刚刚进入 Python 世界,想做一个简单的 twitter 应用程序,需要安装 simplejson,但不知道如何设置它并让它工作..

我使用的是 Windows 系统

最佳答案

我会推荐 EasyInstall ,一个用于 Python 的包管理应用程序。

安装 EasyInstall 后,您应该能够转到命令窗口并键入:

easy_install simplejson

这可能需要先将 easy_install.exe 放在您的 PATH 中,我不记得 EasyInstall 设置是否为您执行此操作(类似于 C:\Python25\Scripts)。

关于python - 如何为 Python 安装 SimpleJson 包,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/718040/

相关文章:

python - Json 转储字典抛出 TypeError : keys must be a string

java - Java中如何解析下面的json?我尝试使用简单的 json 但出现空指针异常

python - SimpleJSON 和 NumPy 数组

python - 标准化嵌套列表中的数字

Python:优雅地将字典与值的 sum() 合并

python - 检查JSON(对象属性存在)是否打印为unicode解码

django - django 1.5 CBV 中返回 HttpResponse 时出现 simplejson 错误

python - Python 中用于 Python 的 ISO 人类可读解析器

python - 向后跟踪关系并注释结果

Python 和 argparse : how to vary required additional arguments based on the first argument?