numpy would not load: libgcc_s vs. libgfortran

Mikhail T. mi+thun at aldan.algebra.com
Mon Jan 4 21:30:06 UTC 2016


On 04.01.2016 16:31, Olivier Duchateau wrote:
> After all it's perhaps Numpy's problem, but nobody reported this issue.
Well, I decided to try figuring this out myself and got the following
error from a very simply one line script consisting of "import numpy;":

    Traceback (most recent call last):
      File "tn.py", line 1, in <module>
        import numpy;
      File "/opt/lib/python2.7/site-packages/numpy/__init__.py", line
    180, in <module>
        from . import add_newdocs
      File "/opt/lib/python2.7/site-packages/numpy/add_newdocs.py", line
    13, in <module>
        from numpy.lib import add_newdoc
      File "/opt/lib/python2.7/site-packages/numpy/lib/__init__.py",
    line 8, in <module>
        from .type_check import *
      File "/opt/lib/python2.7/site-packages/numpy/lib/type_check.py",
    line 11, in <module>
        import numpy.core.numeric as _nx
      File "/opt/lib/python2.7/site-packages/numpy/core/__init__.py",
    line 14, in <module>
        from . import multiarray
    ImportError:
    /opt/lib/python2.7/site-packages/numpy/core/multiarray.so: Undefined
    symbol "cblas_cdotc_sub"

Any ideas? Thanks!

    -mi



More information about the freebsd-python mailing list