What does ldd /usr/local/python2/2.7.8/x86_64/gcc46/New_build/lib/python2.7/site-packages/numpy/core/multiarray.so
say? (I'm not a numpy build expert but that should at least give a hint at which kind of brokenness you're running into... I'm also somewhat curious why you're using such an ancient compiler, but that's unlikely to be the issue.) On Jan 28, 2016 1:43 PM, "Davide Vanzo" <van...@accre.vanderbilt.edu> wrote: > Hi all, > 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> > File > "/usr/local/python2/2.7.8/x86_64/gcc46/New_build/lib/python2.7/site-packages/numpy/__init__.py", > line 180, in <module> > from . import add_newdocs > File > "/usr/local/python2/2.7.8/x86_64/gcc46/New_build/lib/python2.7/site-packages/numpy/add_newdocs.py", > line 13, in <module> > from numpy.lib import add_newdoc > File > "/usr/local/python2/2.7.8/x86_64/gcc46/New_build/lib/python2.7/site-packages/numpy/lib/__init__.py", > line 8, in <module> > from .type_check import * > File > "/usr/local/python2/2.7.8/x86_64/gcc46/New_build/lib/python2.7/site-packages/numpy/lib/type_check.py", > line 11, in <module> > import numpy.core.numeric as _nx > File > "/usr/local/python2/2.7.8/x86_64/gcc46/New_build/lib/python2.7/site-packages/numpy/core/__init__.py", > line 14, in <module> > from . import multiarray > ImportError: > /usr/local/python2/2.7.8/x86_64/gcc46/New_build/lib/python2.7/site-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? > > Thanks. > > Davide > > _______________________________________________ > NumPy-Discussion mailing list > NumPy-Discussion@scipy.org > https://mail.scipy.org/mailman/listinfo/numpy-discussion > >
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org https://mail.scipy.org/mailman/listinfo/numpy-discussion