I would like to run weave in my python2.7 code. But, when I run the code with import weave, I get an error of a module not found in numpy
I have a numpy 1.16.0 installed, and this is running on my Ubuntu server.
Here is the error:
from numpy.core.multiarray import _get_ndarray_c_version
ImportError: cannot import name _get_ndarray_c_version
I have already tried reinstalling numpy, but it does not seem to help. Are there any ways to fix this?