I recently upgraded NumPy from 1.9.1 to 1.10.4 on Python 2.7.8 by using
pip. As always I specified the paths to Blas, Lapack and Atlas in the
respective environment variables. I used the same compiler I used to
compile both Python and the libraries (GCC 4.6.1). The problem is that
it always tries to get Blas symbols in the wrong library:
>>> import numpy
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
packages/numpy/__init__.py", line 180, in <module>
from . import add_newdocs
packages/numpy/add_newdocs.py", line 13, in <module>
from numpy.lib import add_newdoc
packages/numpy/lib/__init__.py", line 8, in <module>
from .type_check import *
packages/numpy/lib/type_check.py", line 11, in <module>
import numpy.core.numeric as _nx
packages/numpy/core/__init__.py", line 14, in <module>
from . import multiarray
packages/numpy/core/multiarray.so: undefined symbol: cblas_sgemm
I also tried to install from source instead of pip but no luck either.
The only way to get it to work is to downgrade to 1.9.1.
Any idea why?