DTCloud 生成requirements.txt的方法

pip freeze

pip freeze可以拉取DTCloud环境中所有的包,即导出当前环境下Python安装的所有类库。

pip freeze > requirements.txt


使用requirements.txt安装类库
pip install -r requirements.txt -i https://pypi.douban.com/simple

文章出处登录后可见!

已经登录?立即刷新

共计人评分,平均

到目前为止还没有投票!成为第一位评论此文章。

(0)
心中带点小风骚的头像心中带点小风骚普通用户
上一篇 2022年5月26日
下一篇 2022年5月26日

相关推荐