mac python2.7 ERROR: Cannot uninstall 'numpy'. It is a distutils installed project an

网友投稿 516 2022-11-06


mac python2.7 ERROR: Cannot uninstall 'numpy'. It is a distutils installed project an

今天在卸载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​​


版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:mac anaconda安装matplotlib
下一篇:Java中数组的定义和使用教程(一)
相关文章

 发表评论

暂时没有评论,来抢沙发吧~