今天在卸载numpy的时候出现了下面的错误:
ERROR: Cannot uninstall 'numpy'. It is a distutils installed project and
thus we cannot accurately determine which files belong to it which would
lead to only a partial uninstal
我的卸载命令是:
pip uninstall numpy
解决方法
pip install --ignore-installed --user numpy==1.10.4
然后就安装成功了。
参考文献
[1].Cannot uninstall 'numpy'. 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. https://github.com/vlachoudis/bCNC/issues/1141