python中好用的pip

1、windows/linux 下安装pip见上篇博客

http://www.cnblogs.com/Edwardzhao/p/5856924.html

2、好用的方法

  pip install xxx==0.1.1   根据版本需要可以指定模块的版本号

  在python程序移植到其他环境上运行的时候,你会发现要装很多模块,这个时候使用

  

  pip freeze > requirements.txt   导出并存入文件

  pip install -r requirements.txt     

  将所有要安装的模块放在requirements.txt 中 

  就解决了。

  该命令在发布版本,自动化部署很有用

 http://blog.csdn.net/olanlanxiari/article/details/48086917 有消息pip介绍

原文地址:https://www.cnblogs.com/Edwardzhao/p/6179630.html