Windows下Python3.6 64位+TensorFlow1.6.0的安装

1、安装Python,设置环境变量

下载地址:https://www.python.org/downloads/windows/

2、下载安装pip

下载地址:https://pypi.python.org/pypi/pip

3、注意:NVD显卡支持GPU加速de需要安装CUDA和cuDNN;

推荐文章:http://blog.csdn.net/duwangthefirst/article/details/79078306

4、下载TensorFlow

下载地址:https://pypi.python.org/pypi/tensorflow#downloads

error:failed to create process.

python -m pip install tensorflow-1.6.0rc1-cp36-cp36m-win_amd64.whl

等一会儿,提示安装完成。

  Downloading Werkzeug-0.14.1-py2.py3-none-any.whl (322kB)
    100% |████████████████████████████████| 327kB 98kB/s
Installing collected packages: termcolor, numpy, six, absl-py, wheel, gast, protobuf, grpcio, astor, html5lib, markdown, bleach, werkzeug, tensorboard, tensorflow
  Running setup.py install for termcolor ... done
  Running setup.py install for absl-py ... done
  Running setup.py install for gast ... done
  Running setup.py install for html5lib ... done

Successfully installed absl-py-0.1.10 astor-0.6.2 bleach-1.5.0 gast-0.2.0 grpcio-1.9.1 html5lib-0.9999999 markdown-2.6.11 numpy-1.14.1 protobuf-3.5.1 six-1.11.0 tensorboard-1.6.0 tensorflow-1.6.0rc1 termcolor-1.1.0 werkzeug-0.14.1 wheel-0.30.0

5、pyhton终端验证安装:

>>> import tensorflow as tf
>>> hello = tf.constant('Hello, TensorFlow!')
>>> sess = tf.Session()
>>> print(sess.run(hello))
b'Hello, TensorFlow!'

参考文章:《Windows下tensorflow安装 win64+Python3.5

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值