gpt4 book ai didi

python - ImportError : libgomp. so.1: 无法打开共享对象文件: 没有这样的文件或目录

转载 作者:太空狗 更新时间:2023-10-30 02:26:48 29 4
gpt4 key购买 nike

在 Google Cloud Compute Engine 上的 Anaconda2 virtualenv 中运行 import graphlab 会导致以下堆栈跟踪。在我的机器上本地运行时,它不会导致堆栈跟踪。

ImportError                               Traceback (most recent call last)
<ipython-input-1-86ee286b3296> in <module>()
----> 1 import graphlab
2 import requests

/home/jbmlaird/anaconda2/envs/gl-env/lib/python2.7/site-packages/graphlab/__init__.pyc in <module>()
57 (_os.path.exists(_os.path.join(_os.path.dirname(__file__), 'cython', 'libstdc++-6.dll')) and \
58 _os.path.exists(_os.path.join(_os.path.dirname(__file__), 'cython', 'libgcc_s_seh-1.dll'))):
---> 59 from graphlab.data_structures.sgraph import Vertex, Edge
60 from graphlab.data_structures.sgraph import SGraph
61 from graphlab.data_structures.sarray import SArray

/home/jbmlaird/anaconda2/envs/gl-env/lib/python2.7/site-packages/graphlab/data_structures/__init__.py in <module>()
23
24 from . import image
---> 25 from . import sframe
26 from . import sarray
27 from . import sgraph

/home/jbmlaird/anaconda2/envs/gl-env/lib/python2.7/site-packages/graphlab/data_structures/sframe.py in <module>()
17 '''
18 from .. import connect as _mt
---> 19 from ..connect import main as glconnect
20 from ..cython.cy_flexible_type import infer_type_of_list
21 from ..cython.context import debug_trace as cython_context

/home/jbmlaird/anaconda2/envs/gl-env/lib/python2.7/site-packages/graphlab/connect/main.py in <module>()
24 # ---------------------------------------------------------------------------
25
---> 26 from ..cython.cy_unity import UnityGlobalProxy
27 from ..cython import cy_ipc
28 from ..cython.cy_server import EmbeddedServer

ImportError: libgomp.so.1: cannot open shared object file: No such file or directory

GraphLab Create 已安装,Anaconda2 也是如此。

最佳答案

通过运行修复:

sudo apt-get install libgomp1

关于python - ImportError : libgomp. so.1: 无法打开共享对象文件: 没有这样的文件或目录,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43764624/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com