tensorflow学习笔记:01 安装tensorflow


1.首先安装VMWare虚拟机,然后安装linux系统,这里使用ubantu16.04.
2.设置好系统使得其能链接外网
3.访问清华大学镜像网站

选择镜像,这里选择python27,cup计算tensorflow1.3.0 的包 底下会有命令如何安装:
pip install \
  -i https://pypi.tuna.tsinghua.edu.cn/simple/ \
 
https://mirrors.tuna.tsinghua.edu.cn/tensorflow/linux/gpu/
选择后命令为:

4.验证。输入python进入python命令行:
>>> import tensorflow as tf;
>>> tf.__version__
'1.3.0'
说明成功。

猜你喜欢

转载自blog.csdn.net/bing1zhi2/article/details/79779602