gpt4 book ai didi

python - 在 Red Hat 6.6 版的 python2.7 中导入 Tensorflow 时出错。 'GLIBC_2.17 not found'

转载 作者:太空狗 更新时间:2023-10-29 21:10:58 25 4
gpt4 key购买 nike

这本质上是对问题 here 的重复.但是,我使用的是 Red Hat 6.6 版,它有 glibc 2.12(glibc 2.17,我认为是在 RHEL ver 7 中引入的)。是否可以在不升级操作系统的情况下在本地安装 tensorflow。 (我没有管理员权限)。这是我得到的错误

ImportError: /lib64/libc.so.6: version `GLIBC_2.17' not found (required by /data02/storage/kgupt33/.local/anaconda/lib/python2.7/site-packages/tensorflow/python/_pywrap_tensorflow.so)

最佳答案

This is essentially a repeat of question asked here.

同样answer应该管用。是什么阻止您下载 glibc-2.17 软件包、解压缩它们以及使用具有正确 --library-pathglibc-2.17/ld.so

Is it possible to install tensorflow locally, without upgrading OS.

是的,使用上面的答案。

关于python - 在 Red Hat 6.6 版的 python2.7 中导入 Tensorflow 时出错。 'GLIBC_2.17 not found',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33731366/

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