python
项目中必须包含一个requiremens.txt文件。用于记录所以依赖包的版本号,以便新环境中进行操作部署。
pip freeze >requirements.txt
生产requirements.txt文件
把文件复制到新环境中:执行命令 pip install -r requirements.txt
python
项目中必须包含一个requiremens.txt文件。用于记录所以依赖包的版本号,以便新环境中进行操作部署。
pip freeze >requirements.txt
生产requirements.txt文件
把文件复制到新环境中:执行命令 pip install -r requirements.txt
本文标题:requirements
本文链接:https://www.haomeiwen.com/subject/pixqjctx.html
网友评论