我是靠谱客的博主 魁梧鸡,这篇文章主要介绍ImportError: libatlas.so.3: cannot open shared object file: No such file or directory,现在分享给大家,希望可以做个参考。

错误日志:

复制代码
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
libatlas.so.3: cannot open shared object file: No such file or directory Traceback (most recent call last): File "/opt/tiger/ss_lib/python_package/lib/python2.7/site-packages/IPython/core/interactiveshell.py", line 2883, in run_code exec(code_obj, self.user_global_ns, self.user_ns) File "<ipython-input-5-af55e7023913>", line 1, in <module> import pandas as pd File "/opt/tiger/ss_lib/python_package/lib/python2.7/site-packages/pandas/__init__.py", line 6, in <module> from . import hashtable, tslib, lib File "numpy.pxd", line 157, in init pandas.hashtable (pandas/hashtable.c:22150) File "/opt/tiger/ss_lib/python_package/lib/python2.7/site-packages/numpy/__init__.py", line 180, in <module> from . import add_newdocs File "/opt/tiger/ss_lib/python_package/lib/python2.7/site-packages/numpy/add_newdocs.py", line 13, in <module> from numpy.lib import add_newdoc File "/opt/tiger/ss_lib/python_package/lib/python2.7/site-packages/numpy/lib/__init__.py", line 8, in <module> from .type_check import * File "/opt/tiger/ss_lib/python_package/lib/python2.7/site-packages/numpy/lib/type_check.py", line 11, in <module> import numpy.core.numeric as _nx File "/opt/tiger/ss_lib/python_package/lib/python2.7/site-packages/numpy/core/__init__.py", line 14, in <module> from . import multiarray ImportError: libatlas.so.3: cannot open shared object file: No such file or directory

原因,缺少libatlas-base-dev

解决办法:

复制代码
1
sudo apt-get install libatlas-base-dev

参考link:https://github.com/apache/incubator-mxnet/issues/5290

最后

以上就是魁梧鸡最近收集整理的关于ImportError: libatlas.so.3: cannot open shared object file: No such file or directory的全部内容,更多相关ImportError:内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(51)

评论列表共有 0 条评论

立即
投稿
返回
顶部