• 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


  • 相关阅读:
    linux 软件各文件安装位置
    c dup 函数
    c sigaction信号处理
    vtun 信号处理
    vtun 虚拟网卡的读写非阻塞研究
    vtun 守护进程详解
    vtun fork函数
    vtun 中的__io_canceled变量和相关函数
    android 之 AIDL
    android 显示电池电量
  • 原文地址:https://www.cnblogs.com/shidexiao/p/9810939.html
Copyright © 2020-2023  润新知