摘要:
pip没有选项可以upgrade所有的package。。。不过可以这样pip freeze --local | cut -d = -f 1 | xargs pip install -U或者用python代码import pipfrom subprocess import callfor dist in pip.get_installed_distributions(): call("pip install --upgrade " + dist.project_name, shell=True) 阅读全文
posted @ 2012-05-31 17:05 1957 阅读(803) 评论(0) 推荐(0) 编辑