ich versuchte, zunächst über die folgende Installation tensorflow:Ungültige ELF Header tensorflow
[email protected]:~/July 2016$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-0.9.0-cp27-none-linux_x86_64.whl
[email protected]:~/July 2016$ pip install --upgrade $TF_BINARY_URL
Dann habe ich versucht mit einem (leicht modifizierte Version für Linux und tensorflow 0.9.0) Lösung von iRapha here:
[email protected]:~/July 2016$ wget https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-0.9.0-cp27-none-linux_x86_64.whl
[email protected]:~/July 2016$ pip install tensorflow-0.9.0-cp27-none-linux_x86_64.whl
Dann habe ich versucht zu testen, ob Tensorflow erfolgreich installiert wurde. Die folgende Ausgabe zeigt, dass ein Fehler "ungültiger ELF-Header" vorliegt.
[email protected]:~/July 2016$ python
Python 2.7.12 |Anaconda 2.5.0 (64-bit)| (default, Jul 2 2016, 17:42:40)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux2
>>> import tensorflow
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/export/mlrg/caugusta/anaconda2/lib/python2.7/site-packages /tensorflow/__init__.py", line 23, in <module>
from tensorflow.python import *
File "/export/mlrg/caugusta/anaconda2/lib/python2.7/site-packages/tensorflow/python/__init__.py", line 48, in <module>
from tensorflow.python import pywrap_tensorflow
File "/export/mlrg/caugusta/anaconda2/lib/python2.7/site-packages/tensorflow/python/pywrap_tensorflow.py", line 28, in <module>
_pywrap_tensorflow = swig_import_helper()
File "/export/mlrg/caugusta/anaconda2/lib/python2.7/site-packages/tensorflow/python/pywrap_tensorflow.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow', fp, pathname, description)
ImportError: /export/mlrg/caugusta/anaconda2/lib/python2.7/site-packages/tensorflow/python/_pywrap_tensorflow.so: invalid ELF header
Ich habe überprüft here. Ich erhalte, dass ungültige ELF-Header Fehler
[email protected]:~July 2016$ pip install tensorflow
Alles sagt, dass tensorflow erfolgreich installiert, aber wenn ich es in Python zu importieren: Auf der Grundlage dieser Antwort habe ich versucht. Weiß jemand wie ich das lösen kann?
Sind Sie sicher, dass Tensorflow sogar mit 'pip' verfügbar ist? Ich kann es nicht finden mit einem 'pip Suche Tensorflow' –
Das ist ein potenzielles Problem, aber ich habe versucht, die Installation von drei verschiedenen Möglichkeiten und alle Wege, sagte, dass Tensorflow erfolgreich installiert wurde. – StatsSorceress
Hat die aktuelle Antwort Ihre Frage beantwortet? Hast du das jemals gelöst? – Pinocchio