在虚拟环境中使用pip生成:

(venv) $ pip freeze >requirements.txt




当需要创建这个虚拟环境的完全副本,可以创建一个新的虚拟环境,并在其上运行以下命令:

(venv) $ pip install -r requirements.txt

相关文章:

  • 2022-12-23
  • 2021-05-16
  • 2021-12-04
  • 2021-12-02
  • 2022-12-23
  • 2022-12-23
  • 2021-11-26
  • 2021-11-03
猜你喜欢
  • 2021-11-17
  • 2021-04-28
  • 2021-09-29
  • 2022-12-23
  • 2022-12-23
  • 2021-05-07
相关资源
相似解决方案