BUG:ERROR: Cannot uninstall ‘certifi’. 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.
BUG原因:错误:无法卸载“证书”。这是一个 distutils 安装的项目,因此我们无法准确确定哪些文件属于它,这只会导致部分卸载。
BUG解决方案:
pip install certifi --ignore-installed
pip install certifi --ignore-installed -i https://pypi.tuna.tsinghua.edu.cn/simple
BUG解决情况:
Installing collected packages: certifi, idna, urllib3, charset-normalizer, requests, ConcurrentLogHandler, xlwt
Attempting uninstall: certifi
Found existing installation: certifi 2022.12.7
Uninstalling certifi-2022.12.7:
Successfully uninstalled certifi-2022.12.7
Successfully installed ConcurrentLogHandler-0.9.1 certifi-2022.9.24 charset-normalizer-2.0.12 idna-3.4 requests-2.27.1 urllib3-1.26.13 xlwt-1.3.0