Python 由于环境错误,无法安装程序包:404客户端错误

Python 由于环境错误,无法安装程序包:404客户端错误,python,pip,Python,Pip,如何解决上述错误?语法为pip install-r requirements.txt 您缺少-r命令标志,请再次使用 pip install -r requirements.txt 和以前一样,pip只是尝试从远程存储获取requirements.txt,希望它是一个包名 请参阅pip帮助安装 用法: 安装选项: 首先检查internet连接,也请检查这个问题从给定的需求文件安装软件包的当前语法是pip install-r。成员们已经提供了答案。本页对语法进行了解释。请将文本添加为文本,而不

如何解决上述错误?

语法为pip install-r requirements.txt


您缺少-r命令标志,请再次使用

 pip install -r requirements.txt
和以前一样,pip只是尝试从远程存储获取requirements.txt,希望它是一个包名

请参阅pip帮助安装

用法:

安装选项:


首先检查internet连接,也请检查这个问题从给定的需求文件安装软件包的当前语法是pip install-r。成员们已经提供了答案。本页对语法进行了解释。请将文本添加为文本,而不是图像。
 pip install -r requirements.txt
pip install [options] <requirement specifier> [package-index-options]...
pip install [options] -r <requirements file> [package-index-options]...

...

pip also supports installing from "requirements files", which 
provide an easy way to specify a whole environment to be installed.
-r, --requirement <file>    Install from the given requirements file. 
                            This option can be used multiple times.