OpenBLAS error when importing numpy: `pthread_creat error in blas_thread_init function`

不羁岁月 提交于 2019-12-07 15:32:41

问题


All of a sudden, I cannot import numpy:

import numpy as np
OpenBLAS: pthread_creat error in blas_thread_init function. Error code:1

I'm running numpy from Anaconda 1.10.1-py27_0 but I had the same issue on 1.9.3-py27_0

Any clues?

Edit:Trying to find out what the version used is I did:

>ldd multiarray.so
linux-vdso.so.1 =>  (0x00007fff53fd4000)
libopenblas.so.0 => not found
libm.so.6 => /lib64/libm.so.6 (0x00007faa1ec14000)
libpython2.7.so.1.0 => not found
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007faa1e9f7000)
libc.so.6 => /lib64/libc.so.6 (0x00007faa1e663000)
/lib64/ld-linux-x86-64.so.2 (0x000000377fc00000)

so it seems that the library is not there.


回答1:


I had a similar problem with anaconda. I solved it by updating numpy, scipy and openblas



来源:https://stackoverflow.com/questions/33506042/openblas-error-when-importing-numpy-pthread-creat-error-in-blas-thread-init-fu

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!