码迷,mamicode.com
首页 > 编程语言 > 详细

pip (package manager) for python

时间:2015-08-06 22:17:24      阅读:261      评论:0      收藏:0      [点我收藏+]

标签:

refrence: pip

1. install

for unix:

$ sudo apt-get install python-pip

note: you could set mirror of deiban package ftp server to mirrors.163.com debian apt-get sourcelist (mirrors) 

2. basic commands

  • help command
$pip --help
  • install package ($pip install [package-name])
$pip install threadpool
  • uninstall package ($pip uninstall [package-name])
$pip uninstall threadpool
  • search  package ($pip search [package-name])
$pip search threadpool

3. configuration mirrors

refrence: http://pip.readthedocs.org/en/docs_rtd/configuration.html

[global]
timeout = 60
trusted-host = pypi.douban.com
index-url = http://pypi.douban.com/simple

 

pip (package manager) for python

标签:

原文地址:http://www.cnblogs.com/BugQiang/p/4709174.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!