Scipy output error: undefined character: sgegv_

When I tried to run keras examples, the program throws an error,

/usr/local/lib/python2.7/dist-packages/scipy/linalg/lapack.py in <module>()
    354 from .blas import find_best_blas_type as find_best_lapack_type
    355 
--> 356 from scipy.linalg import _flapack
    357 try:
    358     from scipy.linalg import _clapack

ImportError: /usr/local/lib/python2.7/dist-packages/scipy/linalg/_flapack.so: undefined symbol: sgegv_

Does anyone know how to solve it?

+4
source share
2 answers

No need to lower your varnish. Better upgrade your scipy

pip install git+https://github.com/scipy/scipy.git
+3
source

In lapak 3.6.0, some obsolete functions that are used in scipy have been discarded. You must use lapack 3.5.0 or lower to make things work.

+2
source

Source: https://habr.com/ru/post/1617903/


All Articles