python - Scipy 输出错误 :undefined symbol: sgegv_

标签 python scipy theano lapack keras

当我尝试运行 keras 示例时,程序输出错误,

/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_

有人知道怎么解决吗?

最佳答案

不需要降级你的lapack。最好升级你的 scipy

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

关于python - Scipy 输出错误 :undefined symbol: sgegv_,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33985305/

相关文章:

Python:找到3个相邻的列表项并确定其中第一个的列表索引

python - 提高 python dblquad 和多处理的速度

keras - 卷积层的输出形状

python - 以除空格以外的任何内容开头,以扩展名(.png、.jpg、.mp4、.avi、.flv)结尾

python - 从 github python 下载和访问数据

python - 在 PYQT4 中创建和更新多个 QLabel

python - 估计 Von Mises 分布的参数 Scipy - 不一致的答案

python - ndimage 不在 SciPy 中

python - Keras 中的策略梯度

大张量上的 numpy n 维智能索引 - 内存效率