2016-11-07 10 views
1

上のGPUバージョンIは、2の方法に従うが、最後のステップで同じエラーを取得してからtensorflowのGPU版をインストールしようとしていますTensorflowのインストールエラー: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/

エラーが

です
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' 

答えて

0

私はそれを見つけたと思う。それは古いピップバージョンのためです。私はanaconda2を使用していたので、ターゲットフォルダのピップを更新できません。一旦デフォルトのpython2.7に戻ってピップをアップグレードしたら、それはうまくいった。