pip升级或卸载某模块时(如 pip3 install --ignore-installed --upgrade scipy)如果出现下列报错:
Cannot uninstall 'xxx'. 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.
可通过添加' --ignore-installed'解决。
pip3 install --ignore-installed --upgrade scipy