在centos5下安装TensorFlow。
步骤:
1.安装python3.5
2.安装pip3,同时建立软链接。
3.安装TensorFlow,pip install --upgrade tensorflow
出现问题:
1./lib64/libc.so.6:version GLIBC_2.14not found
/lib64/libc.so.6: version `GLIBC_2.17' not found
解决办法: 参考文档:http://love.junzimu.com/archives/2269
然后查看是否解决:
strings /lib64/libc.so.6 | grep GLIBC
2.: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
解决办法: # ldconfig
成功解决。
3.strings /usr/lib64/libstdc++.so.6|grep GLIBCXX 主要GCC不够高级
解决办法:参考文档:https://github.com/qiwsir/ITArticles/blob/master/Linux/upgrade_gcc_on_Centos.md
https://itbilu.com/linux/management/NymXRUieg.html
查看是否解决:
strings /usr/lib64/libstdc++.so.6|grep GLIBCXX