Ubuntu16.04.2安裝Tensorflow

安裝aptitudepython

$ sudo apt-get install aptitude

安裝python-pip python-devlinux

$ sudo aptitude install python-pip python-dev

安裝TensorFlowapi

$ sudo pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.8.0-cp27-none-linux_x86_64.whl

系統提示pip版本太低:ide

You are using pip version 8.1.1, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
按照提示升級pip測試

$ pip install --upgrade pip

進入python環境,測試TensorFlow安裝是否成功google

安裝成功。GPU配置先不作介紹。spa

相關文章
相關標籤/搜索