pip “Cannot uninstall ‘pip包‘. It is a distutils installed project...“ 解决方法

港控/mmm° 2022-12-18 00:57 256阅读 0赞

pip升级更新遇到——包已经安装更新,无法安装的错误

  1. ERROR: Cannot uninstall 'XlsxWriter'. 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

在这里插入图片描述

解决方法:忽略已安装的包

  1. pip install XlsxWriter --upgrade --ignore-installed XlsxWriter

在这里插入图片描述

发表评论

表情:
评论列表 (有 0 条评论,256人围观)

还没有评论,来说两句吧...

相关阅读