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

上一篇:编写高效的 CSS 选择器


下一篇:DevExpress控件GridControl中的布局详解 【转】