TensorFlow基础学习——Ubuntu16.04环境下搭建TensorFlow

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/dongdong9223/article/details/83181620

转载请注明出处:http://blog.csdn.net/dongdong9223/article/details/83181620
本文出自【我是干勾鱼的博客

1 安装pip

sudo apt-get install python-pip python-dev

2 按照TensorFlow

Ubuntu/Linux 64-bit,Python 2.7环境:

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

Ubuntu/Linux 64-bit,Python 3.4环境:

sudo pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.9.0-cp34-cp34m-linux_x86_64.whl

3 测试

首先进入python,输入:

python

进入python之后,输入命令:

import tensorflow as tf

如果不报错,说明安装成功!

4 参考

真正从零开始,TensorFlow详细安装入门图文教程!

猜你喜欢

转载自blog.csdn.net/dongdong9223/article/details/83181620
今日推荐