-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
undefined symbol: gotoblas issue #1033
Comments
can you post 'pip freeze' and 'help (modules)' (attach .txt if more than dozen lines) |
|
Try doing "sudo update-alternatives --set libblas.so.3 /usr/lib/openblas-base/libblas.so.3" to switch from the (unoptimized netlib reference ?) blas version currently installed as default on your system to the OpenBLAS that your numpy build expects. |
ok, it is not a openblas bug, when i use anaconda python, now it can work. thank you for your support. |
Then the anaconda version was probably built against the non-optimized blas - you can read about the options in https://github.com/scipy/scipy.org/blob/master/www/scipylib/building/linux.rst#debian--ubuntu |
your advise and your link are very helpful, I will try it. |
Can you close the issue? |
my environments:
Python 2.7.12+ (default, Nov 22 2016, 00:48:54)
[GCC 6.2.1 20161119] on linux2
Type "help", "copyright", "credits" or "license" for more information.
uname -a
Linux debian 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-2 (2016-04-08) x86_64 GNU/Linux
import numpy as np
File "/usr/lib/python2.7/dist-packages/numpy/init.py", line 153, in
from . import add_newdocs
File "/usr/lib/python2.7/dist-packages/numpy/add_newdocs.py", line 13, in
from numpy.lib import add_newdoc
File "/usr/lib/python2.7/dist-packages/numpy/lib/init.py", line 18, in
from .polynomial import *
File "/usr/lib/python2.7/dist-packages/numpy/lib/polynomial.py", line 19, in
from numpy.linalg import eigvals, lstsq, inv
File "/usr/lib/python2.7/dist-packages/numpy/linalg/init.py", line 50, in
from .linalg import *
File "/usr/lib/python2.7/dist-packages/numpy/linalg/linalg.py", line 29, in
from numpy.linalg import lapack_lite, _umath_linalg
ImportError: /usr/lib/libblas.so.3: undefined symbol: gotoblas
The text was updated successfully, but these errors were encountered: