简体   繁体   English

Tensorflow-获取分段错误(核心转储)错误

[英]Tensorflow - getting Segmentation fault (core dumped) error

I have installed tensorflow 0.10 in Anaconda2 -> Python 2.7. 我已经在Anaconda2-> Python 2.7中安装了tensorflow 0.10。

OS: RHEL6.8 作业系统:RHEL6.8

I was getting below error when I try to run 尝试运行时出现错误提示

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"

Now I am getting a different error: 现在我得到了另一个错误:

Segmentation fault (core dumped) 分段故障(核心已转储)

export LD_LIBRARY_PATH=/opt/glibc-2.14/lib

该答案说明了为什么您永远都不要这样做,而应该做什么。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Keras分段故障(核心转储) - Keras Segmentation fault (core dumped) Django在AIX中返回细分错误(核心已转储) - Django returns Segmentation fault (core dumped) in AIX 分段错误(核心转储)。 在python中使用C模块 - Segmentation fault (core dumped). Using C module in python 在多核上运行龙卷风应用程序时遇到分段错误 - Getting Segmentation fault while running tornado app on multiple core pycharm上的rpy2生成分段错误错误 - rpy2 on pycharm generates segmentation fault error 在 virtualbox ubuntu 20.04 python 2.7 - '非法指令(核心转储)'上安装 tensorflow - Installing tensorflow on virtualbox ubuntu 20.04 python 2.7 - 'Illegal instruction (core dumped)' 连接到 Postgres 数据库时出现 Apache Web 服务器分段错误错误 - Apache web server Segmentation Fault error when connecting to a Postgres Database 使用 Tkinter 时出现致命的 python 错误(pygame 降落伞)分段错误 - fatal python error (pygame parachute) Segmentation Fault when using Tkinter 致命的Python错误:(pygame降落伞)分段错误无效 - Fatal Python error: (pygame parachute) Segmentation Fault nothing work 降落伞分割错误-pygame到py2exe - Parachute Segmentation Fault Error - pygame to py2exe
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM