历史,打开尘封的记忆
新博客地址:https://getstarted.readthedocs.io

导航

 

1、【打包】依赖(包)信息至 requirements.txt

$ pip freeze > requirements.txt

2、从指定源【安装】依赖(包)

$ pip install -r requirements.txt -i http://mirrors.aliyun.com/pypi/simple/

3、【安装】依赖(包)到指定目录

$ pip install -d /path/to/save/package -r requirements.txt
posted on 2019-04-15 08:40  AR0X1V  阅读(2841)  评论(0编辑  收藏  举报