Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/348.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 我能';t安装json模块_Python_Json_Pip_Package - Fatal编程技术网

Python 我能';t安装json模块

Python 我能';t安装json模块,python,json,pip,package,Python,Json,Pip,Package,每当我尝试安装软件包时,都会出现以下错误: ERROR: Could not find a version that satisfies the requirement json (from versions: none) ERROR: No matching distribution found for json Python有一个内置的JSON模块。如果那是你要找的。 只需在脚本或shell中导入: import json Python有一个内置的JSON模块。如果那是你要找的。 只需在

每当我尝试安装软件包时,都会出现以下错误:

ERROR: Could not find a version that satisfies the requirement json (from versions: none)
ERROR: No matching distribution found for json

Python有一个内置的JSON模块。如果那是你要找的。 只需在脚本或shell中导入:

import json

Python有一个内置的JSON模块。如果那是你要找的。 只需在脚本或shell中导入:

import json

正如Bruno提到的,python已经有了内置的JSON模块,因此安装不同的包没有任何价值。假设这就是你要找的

打开shell并键入:

import json
如果您想了解有关如何完成此操作的详细信息,请查看此python文档:

正如Bruno所提到的,python已经有了内置的JSON模块,因此安装不同的包没有任何价值。假设这就是你要找的

打开shell并键入:

import json
如果您想了解有关如何完成此操作的详细信息,请查看此python文档:

您能给我们提供更多的信息吗?你到底跑了什么?您使用的是什么环境?json是一个内置模块,无需安装可能重复的值得一提的内容,如果您将
json
放入您的requirements.txt,安装时会出错。您能给我们提供更多信息吗?你到底跑了什么?您使用的是什么环境?json是一个内置模块,无需安装可能的重复项,值得一提的是,如果您将
json
放入您的requirements.txt,安装时将抛出错误