赞
踩
python -m pip install --upgrade pip
- import pip
- from subprocess import call
-
- for dist in pip.get_installed_distributions():
- call("pip install --upgrade " + dist.project_name, shell=True)
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。