It is a distutils installed project and thus we cannot accurately determine which
报错 怎么办
➜ ~ pip3 uninstall <span class="wp_keywordlink_affiliate"><a href="https://www.168seo.cn/tag/xlsxwriter" title="View all posts in XlsxWriter" target="_blank">XlsxWriter</a></span>
1
2
|
➜
~
pip3
uninstall
XlsxWriter
|
报错: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.
翻译后:
无法卸载'XlsxWriter'。 这是一个distutils安装项目,因此我们无法准确确定哪些文件属于它会导致只部分卸载。
在网上找了半天可以用这个命令:
pip install --ignore-installed ${PACKAGE_NAME}
1
2
|
pip
install
--
ignore
-
installed
$
{
PACKAGE_NAME
}
|
是不是很轻松的安装了