python - 由于 EnvironmentError 无法安装软件包:404 客户端错误
解决方案
您缺少 -r 命令标志,因此请再次使用
pip install -r requirements.txt
和以前一样,pip
只是尝试requirements.txt
从远程存储中获取,期望它是一个包名。
看pip help install
用法:
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.
推荐阅读
- java - HTTP POST 方法说在 Android 上找不到 404 文件异常
- javascript - 在向 div 添加/删除背景图像时应用某种动画
- asp.net - 基于 IIS 的 Web 服务
- python - 如何使用具有大量文本文档的 Gensim/Word2Vec/Doc2Vec 进行监督学习?
- wifi - 我可以为 700 MHz Verizon 4G LTE 数据使用额定频率为 2.4 GHz 的抛物面天线吗?
- html5-video - 如何(或可能)将 AVC 编解码器配置文件和级别转换为 MIME 编解码器定义?
- javascript - 多重计算无法正常工作
- r - 根据 R 中的条件填充列
- javascript - 我无法在 JavaScript 中实现 forEach 循环
- python - 如何使用 python pandas 在本地系统 Jupyter Notebook 中读取两个较大的 5GB csv 文件?如何在本地加入两个数据框进行数据分析?