# -*- coding: utf-8 -*-
import pip
from subprocess import call
for dist in pip.get_installed_distributions():
call("pip install --upgrade " + dist.project_name, shell=True)
标签:pos .project port log ade coding 升级 批量 gpo
# -*- coding: utf-8 -*-
import pip
from subprocess import call
for dist in pip.get_installed_distributions():
call("pip install --upgrade " + dist.project_name, shell=True)
标签:pos .project port log ade coding 升级 批量 gpo
原文地址:https://www.cnblogs.com/everfight/p/pip_upgrade.html