【问题标题】:Tensorflow - getting Segmentation fault (core dumped) errorTensorflow - 出现分段错误(核心转储)错误
【发布时间】:2017-06-13 12:24:10
【问题描述】:

我已经在 Anaconda2 -> Python 2.7 中安装了 tensorflow 0.10。

操作系统:RHEL6.8

我在尝试运行时遇到错误

python -c "import tensorflow"

ImportError: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by ~/anaconda2/lib/python2.7/site-packages/tensorflow/python/_pywrap_tensorflow.so)

I have glibc_2.12 in the host. I installed glibc_2.14 in another dir.

Now I am running the command as below:

export LD_LIBRARY_PATH=/opt/glibc-2.14/lib

python -c "import tensorflow"

现在我得到一个不同的错误:

分段错误(核心转储)

【问题讨论】:

标签: python-2.7 tensorflow segmentation-fault anaconda glibc


【解决方案1】:

export LD_LIBRARY_PATH=/opt/glibc-2.14/lib

This answer 解释了为什么你不应该这样做,以及应该怎么做。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-09-28
    • 1970-01-01
    • 1970-01-01
    • 2014-08-04
    • 2012-11-19
    • 1970-01-01
    相关资源
    最近更新 更多