1. 清华大学源:https://pypi.tuna.tsinghua.edu.cn/simple

示例: pip install -i https://pypi.tuna.tsinghua.edu.cn/simple some-package

 

2. 导出python package 列表: pip freeze > requirements.txt

3. 根据requirements.txt安装python package: pip install -r requirements.txt

posted on 2018-01-04 15:18  robynn  阅读(104)  评论(0编辑  收藏  举报