首页 > 代码库 > tensorflow安装

tensorflow安装

Ubuntu安装tensorflow
先安装python-dev,再安装tensorflow就好了
$ sudo apt-get install python-dev
$ pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.5.0-cp27-none-linux_x86_64.whl

# For CPU-only version
$ pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.5.0-cp27-none-linux_x86_64.whl

把0.5.0换成0.8.0就可以安装0.8.0版本
# For GPU-enabled version (only install this version if you have the CUDA sdk installed) $ pip install https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-0.5.0-cp27-none-linux_x86_64.whl

 

tensorflow安装