2016-11-07 2 views
1

ich versucht habe, gpu Version von tensorflow aus folgenden 2 Verfahren zu installieren, aber gleichen Fehler bei der letzten Schritt erhalten:Tensorflow Installationsfehler: GPU-Version auf Ubuntu 16.04

https://alliseesolutions.wordpress.com/2016/09/08/install-gpu-tensorflow-from-sources-w-ubuntu-16-04-and-cuda-8-0-rc/

https://pythonprogramming.net/how-to-cuda-gpu-tensorflow-deep-learning-tutorial/

Fehler sind

Exception: 
Traceback (most recent call last): 
    File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 209, in main 
    status = self.run(options, args) 
    File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 328, in run 
    wb.build(autobuilding=True) 
    File "/usr/lib/python2.7/dist-packages/pip/wheel.py", line 748, in build 
    self.requirement_set.prepare_files(self.finder) 
    File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 360, in prepare_files 
    ignore_dependencies=self.ignore_dependencies)) 
    File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 448, in _prepare_file 
    req_to_install, finder) 
    File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 387, in _check_skip_installed 
    req_to_install.check_if_exists() 
    File "/usr/lib/python2.7/dist-packages/pip/req/req_install.py", line 1011, in check_if_exists 
    self.req.project_name 
AttributeError: 'Requirement' object has no attribute 'project_name' 

Antwort

0

Ich denke, ich habe es gefunden. Es ist wegen der alten Pip-Version. Ich kann pip im Zielordner nicht aktualisieren, weil ich anaconda2 verwendet habe. Sobald ich zurück zu Standard-Python 2.7 wechselte und den Pip verbesserte, funktionierte es.