为了账号安全,请及时绑定邮箱和手机立即绑定

通过pip进行PYWIN32升级-错误无法卸载……由distutils安装……”

通过pip进行PYWIN32升级-错误无法卸载……由distutils安装……”

德玛西亚99 2021-04-09 14:10:24
既然pywin32可以在pip中使用,从较早版本(安装了本地MSI的版本)升级到PIP最新最大的平滑途径是什么?我的PIP不会卸载旧版本,如下所述。======= C:\Users\bobhy> pip listPackage         Version--------------- -------. . .pip             10.0.1pywin32         221. . .======= C:\Users\bobhy> pip install pywin32==223Collecting pywin32==223  Using cached https://files.pythonhosted.org/packages/9f/9d/f4b2170e8ff5d825cd4398856fee88f6c70c60bce0aa8411ed17c1e1b21f/pywin32-223-cp36-cp36m-win_amd64.whlInstalling collected packages: pywin32  Found existing installation: pywin32 221Cannot uninstall 'pywin32'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
查看完整描述

2 回答

?
拉莫斯之舞

TA贡献1820条经验 获得超10个赞

解决方案是通过卸载MSI安装Control Panel > Uninstall or Change Program。之后,您可以通过安装pip


查看完整回答
反对 回复 2021-04-20
  • 2 回答
  • 0 关注
  • 671 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信