-
Notifications
You must be signed in to change notification settings - Fork 6.8k
libcblas.so.3: cannot open shared object file: No such file or directory #5290
Comments
To solve this issue you have to install libatlas-base-dev sudo apt-get install libatlas-base-dev |
This issue is closed due to lack of activity in the last 90 days. Feel free to ping me to reopen if this is still an active issue. Thanks! |
Using OS - "Linux ip-172-31-7-81 4.9.76-3.78.amzn1.x86_64" and python 2.7.
[ec2-user@ip-172-31-7-81 ~]$ sudo yum install libatlas-base-dev But not able to use mxnet on this instance. |
@anirudhacharya for missing |
@szha yum does not have gfortran just like libatlas-base-dev. |
|
@szha libgfortran-4.8.5-11.135.amzn1.i686 : Fortran runtime libgfortran-6.4.1-1.45.amzn1.i686 : Fortran runtime libgfortran-6.4.1-1.45.amzn1.i686 : Fortran runtime I installed the above package - But when I try to import mxnet it still gives the same error -
|
Also for the following packages, I am not able to find corresponding yum packages - liblapack-dev, liblas-dev, gfortran. I could usually install these packages with apt-get but yum is not able to find them. $ sudo yum provides liblapack-dev |
The AMI images of AWS does not have these packages. Installing them worked. Thanks. |
In Ubuntu 18.04, the following error:
was fixed by running
Also, in place of amd64 the I am aware of the following options: i386, i586, i686, x86_64. |
Hi all,
Operating System:
I am working on a cluster of 3 machines AWS ubuntu 14.04 and Python2.7.
I am following the official site for installation and running the code for distributed training.
When I execute this:
../../tools/launch.py -n 2 -H hosts --sync-dst-dir /tmp/mxnet
python train_mnist.py --network lenet --kv-store dist_sync
This is the error:
Traceback (most recent call last):
File "train_mnist.py", line 10, in
from common import find_mxnet, fit
File "/tmp/mxnet/common/find_mxnet.py", line 4, in
import mxnet as mx
File "/tmp/mxnet/mxnet/init.py", line 7, in
from .base import MXNetError
File "/tmp/mxnet/mxnet/base.py", line 46, in
_LIB = _load_lib()
File "/tmp/mxnet/mxnet/base.py", line 38, in _load_lib
lib = ctypes.CDLL(lib_path[0], ctypes.RTLD_GLOBAL)
File "/usr/lib/python2.7/ctypes/init.py", line 365, in init
self._handle = _dlopen(self._name, mode)
OSError: libcblas.so.3: cannot open shared object file: No such file or directory
Traceback (most recent call last):
File "train_mnist.py", line 10, in
from common import find_mxnet, fit
File "/tmp/mxnet/common/find_mxnet.py", line 4, in
import mxnet as mx
File "/tmp/mxnet/mxnet/init.py", line 7, in
from .base import MXNetError
File "/tmp/mxnet/mxnet/base.py", line 46, in
_LIB = _load_lib()
File "/tmp/mxnet/mxnet/base.py", line 38, in _load_lib
lib = ctypes.CDLL(lib_path[0], ctypes.RTLD_GLOBAL)
File "/usr/lib/python2.7/ctypes/init.py", line 365, in init
self._handle = _dlopen(self._name, mode)
OSError: libcblas.so.3: cannot open shared object file: No such file or directory
Any Idea?
The text was updated successfully, but these errors were encountered: