Davide Vanzo
2016-01-28 21:43:11 UTC
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
 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
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
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