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

概述

错误日志:

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

解决办法:

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: libatlas.so.3: cannot open shared object file: No such file or directory所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

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

评论列表共有 0 条评论

立即
投稿
返回
顶部