生成文件

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


相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-04-21
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-10-17
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-15
  • 2021-04-10
相关资源
相似解决方案