1、生成requirement.txt
pipreqs ./ --encoding=utf8
2、离线下载
pip wheel -w package_tmp_dir -r requirements.txt
pip download -d package_tmp_dir -r requirements.txt
3、安装
pip install --no-index --find-links=package_tmp_dir -r requirements.txt
1、生成requirement.txt
pipreqs ./ --encoding=utf8
2、离线下载
pip wheel -w package_tmp_dir -r requirements.txt
pip download -d package_tmp_dir -r requirements.txt
3、安装
pip install --no-index --find-links=package_tmp_dir -r requirements.txt
本文标题:Flask离线所有requirement
本文链接:https://www.haomeiwen.com/subject/gjvwortx.html
网友评论