module ‘numpy‘ has no attribute ‘get_include‘

在编译cocoAPI时,出现"module 'numpy' has no attribute 'get_include'"

解决方法:卸载旧版本的numpy,安装最新的numpy

sudo pip3 uninstall numpy

sudo pip3 install numpy #pip3默认安装最新的numpy

posted @ 2022-11-13 22:36  dlhl  阅读(192)  评论(0)    收藏  举报