【问题标题】:How to you requirements.txt in python3.6?python3.6中的requirements.txt如何?
【发布时间】:2021-07-08 04:43:44
【问题描述】:

我有 requirements.txt,包括编译多个 python 脚本 *.py 的包版本和 bash 脚本。如何更改编译命令 python3.6 *.py 使用 requirements.txt 中的包版本?或者如何创建安装包?谢谢

【问题讨论】:

    标签: python python-3.x package requirements.txt


    【解决方案1】:

    只需在终端上输入以下内容:

    pip freeze > requirements.txt
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-12-14
      • 2017-08-14
      • 1970-01-01
      • 2018-02-21
      • 2021-12-25
      • 2020-11-14
      相关资源
      最近更新 更多