python3 批量更新包,解决Specify --upgrade to force replacement
#当前pip22.1.2#需要安装setuptoolsimportpkg_resourcesfromsubprocessimportcallpackages=[dist.project_namefordistinpkg_resources.working_set]#使用豆瓣源更新call("pipinstall-ihttps://pypi.douban.com/simple/--upgrade"+