pip install -r requirements.txt
生成文件
pip freeze > requirements.txt
pip install --help
Usage:
pip install [options] <requirement specifier> [package-index-options] ...
pip install [options] -r <requirements file> [package-index-options] ...
pip install [options] [-e] <vcs project url> ...
pip install [options] [-e] <local project path> ...
pip install [options] <archive url/path> ...
Description:
Install packages from:
- PyPI (and other indexes) using requirement specifiers.
- VCS project urls.
- Local project directories.
- Local or remote source archives.
..............
从requirements.txt安装依赖库
pip install -r requirements
这个 博客 主要用于记录自己在工作领域的所学所思, 属于笔记类型. 同时也用于收集整理工作所需的资料, 以便提高工作效率, 减少重复的搜索工作.
开博的目标就是重内容轻形式, 要求界面简洁, 易于搜索. 博客内的代码, 默认使用MIT License (特别注明的除外).
博客内的转载内容会保留原链接, 图片多摘自网络, 难以一一查明来源, 如有侵权, 请及时联系dexiao101@gmail.com, 我会立刻删除. 望谅解.
posted on 2018-10-18 15:45 shidexiao 阅读(6160) 评论(0) 编辑 收藏 举报