[Numpy-discussion] error when numpy is imported

Ralf Gommers ralf.gommers@googlemail....
Sat Jun 4 11:09:25 CDT 2011


On Fri, Jun 3, 2011 at 11:05 PM, akshar bhosale <akshar.bhosale@gmail.com>wrote:

> [GCC 4.1.2 20071124 (Red Hat 4.1.2-42)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import numpy
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "/home/admin/numpy-1.6.0b2/install/lib/python/numpy/__init__.py",
> line 137, in <module>
>     import add_newdocs
>   File "/home/admin/numpy-1.6.0b2/install/lib/python/numpy/add_newdocs.py",
> line 9, in <module>
>     from numpy.lib import add_newdoc
>   File "/homeadmin/numpy-1.6.0b2/install/lib/python/numpy/lib/__init__.py",
> line 13, in <module>
>     from polynomial import *
>   File
> "/home/admin/numpy-1.6.0b2/install/lib/python/numpy/lib/polynomial.py", line
> 17, in <module>
>     from numpy.linalg import eigvals, lstsq
>   File
> "/home/admin/numpy-1.6.0b2/install/lib/python/numpy/linalg/__init__.py",
> line 48, in <module>
>     from linalg import *
>   File
> "/home/dmin/numpy-1.6.0b2/install/lib/python/numpy/linalg/linalg.py", line
> 23, in <module>
>     from numpy.linalg import lapack_lite
> ImportError:
> /home/external/Python-2.6/lib/python2.6/site-packages/numpy/linalg/lapack_lite.so:
> undefined symbol: _gfortran_concat_string
>
> We have intel mkl with which we are trying to build numpy and scipy.
>
> It looks like you are mixing different fortran compilers, which doesn't
work.

Ralf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20110604/2c35055c/attachment.html 


More information about the NumPy-Discussion mailing list