2017-07-21 4 views
2

Ich versuche tensorflow auf Cluster zu installieren, wo ich nicht sudo-Zugang haben, aber ich erhalte diesen Fehler:Fehler bei der Installation tensorflow

Traceback (most recent call last): File "/home/nsoufi2s/anaconda3/lib/python3.5/site-packages/tensorflow/python/pywrap_tensorflow.py", line 41, in from tensorflow.python.pywrap_tensorflow_internal import * File "/home/nsoufi2s/anaconda3/lib/python3.5/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in _pywrap_tensorflow_internal = swig_import_helper() File "/home/nsoufi2s/anaconda3/lib/python3.5/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description) File "/home/nsoufi2s/anaconda3/lib/python3.5/imp.py", line 242, in load_module return load_dynamic(name, filename, file) File "/home/nsoufi2s/anaconda3/lib/python3.5/imp.py", line 342, in load_dynamic return _load(spec) ImportError: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /home/nsoufi2s/anaconda3/lib/python3.5/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so)

Während der oben genannten Ausnahmebehandlung, eine weitere Ausnahme aufgetreten:

Traceback (most recent call last): File "", line 1, in File "/home/nsoufi2s/anaconda3/lib/python3.5/site-packages/tensorflow/init.py", line 24, in from tensorflow.python import * File "/home/nsoufi2s/anaconda3/lib/python3.5/site-packages/tensorflow/python/init.py", line 49, in from tensorflow.python import pywrap_tensorflow File "/home/nsoufi2s/anaconda3/lib/python3.5/site-packages/tensorflow/python/pywrap_tensorflow.py", line 52, in raise ImportError(msg) ImportError: Traceback (most recent call last): File "/home/nsoufi2s/anaconda3/lib/python3.5/site-packages/tensorflow/python/pywrap_tensorflow.py", line 41, in from tensorflow.python.pywrap_tensorflow_internal import * File "/home/nsoufi2s/anaconda3/lib/python3.5/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in _pywrap_tensorflow_internal = swig_import_helper() File "/home/nsoufi2s/anaconda3/lib/python3.5/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description) File "/home/nsoufi2s/anaconda3/lib/python3.5/imp.py", line 242, in load_module return load_dynamic(name, filename, file) File "/home/nsoufi2s/anaconda3/lib/python3.5/imp.py", line 342, in load_dynamic return _load(spec) ImportError: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /home/nsoufi2s/anaconda3/lib/python3.5/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so)

Fehler beim Laden der nativen TensorFlow-Laufzeit.

+0

Es wäre hilfreich, wenn Sie angeben, auf welcher Plattform Sie Tensorflow installieren möchten. Der Fehler tritt auf, weil die kompilierten Tensorflow-Bibliotheken dynamisch mit glibc 2.14 verknüpft sind und Ihre Plattform dies nicht unterstützt. –

Antwort

3

Sie können eine virtuelle Umgebung in Ihrem Home-Verzeichnis mit den folgenden Befehlen erstellen. Sie werden keinen sudo-Zugriff benötigen.

conda create -n tensorflow python=3.5 
source activate tensorflow 
pip install tensorflow