Linux系统Python命令 import tensorflow 时报错:/lib64/libc.so.6: version `GLIBC_2.17' not found
Linux CentOS6.8 执行Python命令 import tensorflow 时报错:ImportError: /lib64/libc.so.6: version `GLIBC_2.17' not found (required by /root/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensor
Linux CentOS6.8 执行Python命令 import tensorflow 时报错:
ImportError: /lib64/libc.so.6: version `GLIBC_2.17' not found (required by /root/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so)
1.查看本地Linux系统glibc版本
[root@MiWiFi-R3P-srv tensorflow]# strings /lib64/libc.so.6 | grep GLIBC_
GLIBC_2.2.5
GLIBC_2.2.6
GLIBC_2.3
GLIBC_2.3.2
GLIBC_2.3.3
GLIBC_2.3.4
GLIBC_2.4
GLIBC_2.5
GLIBC_2.6
GLIBC_2.7
GLIBC_2.8
GLIBC_2.9
GLIBC_2.10
GLIBC_2.11
GLIBC_2.12
GLIBC_PRIVATE
发现没有GLIBC_2.17,所以需要下载GLIBC_2.17
2.下载GLIBC_2.17
从 http://ftp.gnu.org/gnu/libc/ 下载源代码
我下载的是glibc-2.17.tar.gz
3.安装GLIBC_2.17
参考链接地址:https://my.oschina.net/zhangxu0512/blog/262275
更多推荐
所有评论(0)