一、前言
在用pip安装时遇到:
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.
二、解决办法
pip install --ignore-installed certifi
拓展:
# 遇到任何Cannot uninstall 'xxx' 问题时,都可以用下办法解决
pip install --ignore-installed [xxx]