python import numpy right but import caffe wrong

Wrong:

from . import _tifffile
RuntimeError: module compiled against API version 0xa but this version of numpy is 0x9

Solution:

sudo apt-get purge python-numpy
sudo python2.7 -m pip install numpy

posted @ 2017-10-27 12:29  Viewsky  阅读(169)  评论(0编辑  收藏  举报