windows环境安装tensorflow
2017-07-30 18:28
232 查看
本机环境win7,想要安装tensorflow,试了好久,才装好。官网才是王道。
注意:目前tensorflow 在 windows 环境中仅支持 python 3.5. *64,。所以python版本一定要下对。
我采用的方法是
后面的命令就参照官网https://www.tensorflow.org/install/install_windows
装好以后进行测试
Enter the following short program inside the python interactive shell:
If the system outputs the following, then you are ready to begin writing TensorFlow programs:
新建工程后在Setting–Project Interpreter选择tensorflow下的Python解释器,例如我的解释器位置:
等部署完后便可跑个HelloWorld了
2 配置文件编码
注意:目前tensorflow 在 windows 环境中仅支持 python 3.5. *64,。所以python版本一定要下对。
我采用的方法是
Installing with native pip,使用 CPU 版本。
下面是分享的python 链接 http://pan.baidu.com/s/1qXGlYdI后面的命令就参照官网https://www.tensorflow.org/install/install_windows
C:\> pip3 install --upgrade tensorflow
装好以后进行测试
$ python
Enter the following short program inside the python interactive shell:
>>> import tensorflow as tf >>> hello = tf.constant('Hello, TensorFlow!') >>> sess = tf.Session() >>> print(sess.run(hello))
If the system outputs the following, then you are ready to begin writing TensorFlow programs:
Hello, TensorFlow!
配置PyCharm
习惯了使用JetBrain系列开发工具,于是选用PyCharm来开发,配置如下:新建工程后在Setting–Project Interpreter选择tensorflow下的Python解释器,例如我的解释器位置:
等部署完后便可跑个HelloWorld了
2 配置文件编码
相关文章推荐
- Windows环境下用Anaconda(2.7/3.6)安装GPU版TensorFlow
- windows环境下Anaconda安装Tensorflow
- windows 环境下在python中安装tensorflow报错问题
- 【tensorflow】tensorflow安装(环境CPU+Windows)
- Windows环境下,Anaconda 安装多版本python,以及TensorFlow安装
- windows环境下安装TensorFlow(亲测)
- windows环境下的tensorflow安装
- Windows环境下的TensorFlow安装过程
- TensorFlow在windows环境下的安装(1)
- tensorflow的 windows环境安装 这个
- Windows环境下安装Tensorflow
- windows环境下tensorflow安装过程详解
- windows linux 下 激活TensorFlow环境以及包安装,pycharm安装
- windows环境下,anoconnda安装tensorflow
- tensorflow入门4 windows环境下安装tf
- windows环境下安装TensorFlow
- Windows下Anaconda环境安装Tensorflow
- Windows环境下安装Tensorflow
- TensorFlow安装(windows环境下)
- 最新版TensorFlow 1.3 windows环境安装