Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/284.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 尽管机器运行2.19,tensorflow仍请求GLIBC 2.14_Python_Tensorflow_Glibc - Fatal编程技术网

Python 尽管机器运行2.19,tensorflow仍请求GLIBC 2.14

Python 尽管机器运行2.19,tensorflow仍请求GLIBC 2.14,python,tensorflow,glibc,Python,Tensorflow,Glibc,我看过很多关于安装tensorflow而不必更新Glibc2.12的帖子。我没有这个限制,所以我在GCC 4.4.7 20120313(Red Hat 4.4.7-1)linux集群上获得了GLIBC 2.19: ldd --version ldd (GNU libc) 2.19 我有一个Python 3.4.5虚拟环境,pip通过以下方式安装了tensorflow 0.11.0: export TF_BINARY_URL=https://storage.googleapis.com/tens

我看过很多关于安装tensorflow而不必更新Glibc2.12的帖子。我没有这个限制,所以我在GCC 4.4.7 20120313(Red Hat 4.4.7-1)linux集群上获得了GLIBC 2.19:

ldd --version
ldd (GNU libc) 2.19
我有一个Python 3.4.5虚拟环境,pip通过以下方式安装了tensorflow 0.11.0:

export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.11.0-cp34-cp34m-linux_x86_64.whl

pip3 install --ignore-installed --upgrade $TF_BINARY_URL
我做了以下工作并观察到:

python
import tensorflow

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/share/apps/home_2/user/miniconda3/envs/py34/lib/python3.4/site-packages/tensorflow/__init__.py", line 23, in <module>
    from tensorflow.python import *
  File "/share/apps/home_2/user/miniconda3/envs/py34/lib/python3.4/site-packages/tensorflow/python/__init__.py", line 49, in <module>
    from tensorflow.python import pywrap_tensorflow
  File "/share/apps/home_2/user/miniconda3/envs/py34/lib/python3.4/site-packages/tensorflow/python/pywrap_tensorflow.py", line 28, in <module>
    _pywrap_tensorflow = swig_import_helper()
  File "/share/apps/home_2/user/miniconda3/envs/py34/lib/python3.4/site-packages/tensorflow/python/pywrap_tensorflow.py", line 24, in swig_import_helper
    _mod = imp.load_module('_pywrap_tensorflow', fp, pathname, description)
  File "/share/apps/home_2/user/miniconda3/envs/py34/lib/python3.4/imp.py", line 243, in load_module
    return load_dynamic(name, filename, file)
ImportError: /lib64/libc.so.6: version `**GLIBC_2.14' not found** (required by /share/apps/home_2/user/miniconda3/envs/py34/lib/python3.4/site-packages/tensorflow/python/_pywrap_tensorflow.so)
python
输入张量流
回溯(最近一次呼叫最后一次):
文件“”,第1行,在
文件“/share/apps/home_2/user/miniconda3/envs/py34/lib/python3.4/site packages/tensorflow/_init__.py”,第23行
从tensorflow.python导入*
文件“/share/apps/home_2/user/miniconda3/envs/py34/lib/python3.4/site packages/tensorflow/python/_init__uuuuuuuu.py”,第49行
从tensorflow.python导入pywrap\u tensorflow
文件“/share/apps/home_2/user/miniconda3/envs/py34/lib/python3.4/site packages/tensorflow/python/pywrap_tensorflow.py”,第28行
_pywrap\u tensorflow=swig\u import\u helper()
文件“/share/apps/home\u 2/user/miniconda3/envs/py34/lib/python3.4/site packages/tensorflow/python/pywrap\u tensorflow.py”,第24行,在swig\u import\u helper中
_mod=imp.load_模块(“pywrap_tensorflow”,fp,路径名,描述)
加载模块中的文件“/share/apps/home_2/user/miniconda3/envs/py34/lib/python3.4/imp.py”,第243行
返回加载动态(名称、文件名、文件)
ImportError:/lib64/libc.so.6:找不到版本“**GLIBC_2.14**(由/share/apps/home_2/user/miniconda3/envs/py34/lib/python3.4/site packages/tensorflow/python/_pywrap\u tensorflow.so所需)

我的理解是,有向后兼容缺席2.14,所以降级到它似乎不是下一个最好的步骤,可能会激怒管理员。有更好的方法可以尝试吗

有关构建和安装的问题,请在此处提交github问题:“存在向后兼容性”--正确。这本应该奏效的。在目标计算机上运行
/lib64/libc.so.6
的输出是什么(其中
导入tensorflow
失败)?另外,
readelf-V/lib64/libc.so.6
/lib64/libc.so.6
GNU C Library稳定版2.12,由罗兰·麦克格拉斯等人出版。
readelf-V/lib64/libc.so.6
提供了比显示空间更多的输出,但我认为一些相关的位包括:
readelf:Error:“/lib64/libc.so.6readelf”:没有这样的文件:/lib64/libc.so.6版本符号节“.gnu.Version”包含2166个条目:版本定义节“.gnu.Version_d”包含17个条目:版本需要节“.gnu.Version_r”包含1个条目: