导出本地依赖的所有包,并下载到 packages 目录下
pip list
pip freeze > requirements.txt
pip download -d packages -r requirements.txt
将 packages 文件夹和 requirements.txt 拷贝至离线机器上
pip install --no-index --find-links=packages -r requirements.txt
标签:packages,requirements,Python,离线,使用,pip,txt From: https://www.cnblogs.com/manastudent/p/17045916.html