ValueError: numpy.ufunc size changed, may indicate binary incompatibility. (FASTER-RCNN编译)

faster-rcnn编译过程中,有个错误记录一下:

ValueError: numpy.ufunc size changed, may indicate binary incompatibility. Expected 216 from C header, got 192 from PyObject

上网搜了一下,发现两种相关错误,有一种是因为numpy版本过高的问题,错误大致是这样的:

ValueError: numpy.ufunc size changed, may indicate binary incompatibility.Expected 216 got 192 .

这种应该是numpy版本过高的缘故吧,我对我的问题试了一下,不行,后来只搜索后面半句,发现竟然是numpy版本过低的缘故,附上卸载,安装,升级numpy的终端命令:

sudo  pip uninstall numpy
sudo pip install numpy==1.14.5
sudo pip install --upgrade numpy

主要参考了:https://blog.csdn.net/zhouchen1998/article/details/86674449

      https://blog.csdn.net/qq_28702661/article/details/81629821

      https://blog.csdn.net/qq_39501363/article/details/90666520

posted @ 2019-08-12 12:01  Wind·Chaser  阅读(6236)  评论(0编辑  收藏  举报