2020年2月5日 0次阅读 共448个字 0条评论 0人点赞 QueenDekimZ
COCO-API
windows下安装COCO API时

python setup.py build_ext install

出现报错:

在这里插入图片描述

ImportError: Something is wrong with the numpy installation. While
importing we detected an older version of numpy in
[‘F:\Coding_Tools\python3.6\lib\site-packages\numpy’]. One method
of fixing this is to repeatedly uninstall numpy until none is found,
then reinstall this version.

解决方案:

导入numpy时检测到旧版本numpy,按照网上找到的方法pip uninstall
numpy,再安装依旧不行,最后进入报错提示路径,手动删除numpy文件夹,再pip install numpy,成功解决。

Logo

CSDN联合极客时间,共同打造面向开发者的精品内容学习社区,助力成长!

更多推荐