欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

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

程序员文章站 2022-07-14 13:18:21
...

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

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

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

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

pip install XlsxWriter --upgrade --ignore-installed XlsxWriter

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