pip freeze #查看安装的包

python下使用pip freeze >requirements.txt命令迁移模块

pip freeze > requirements.txt
#自动会导入到你现在的项目文件夹中
创建一个新的环境是可以导入新环境
pip install -r requirements.txt 

 

相关文章:

  • 2021-11-02
  • 2021-11-23
  • 2022-12-23
  • 2021-08-25
  • 2021-10-19
  • 2021-11-14
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-15
  • 2022-12-23
  • 2021-06-13
  • 2022-12-23
  • 2021-10-07
  • 2021-10-08
  • 2022-01-18
相关资源
相似解决方案