Windows安装TensorFlow 0.12 最便捷方案
2017-03-05 14:24
295 查看
由于截图不方便上传,已经同步到github
具体参考:https://github.com/matiji66/tensorflow-install
tensorflow安装环境:
win7 64
Conda --version Anaconda 64 4.3.13
1. 新建一个python 3.5
版本
conda create -n tensorflow python=3.5
2. Activate tensorflow
3. pip install tensorflow 默认是没有安装最新版本的
Both distributions include pip. To install the CPU-only version of TensorFlow, enter the following command at a command prompt:
C:\> pip install --upgrade https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-0.12.0rc1-cp35-cp35m-win_amd64.whl
To install the GPU version of TensorFlow, enter the following command at a command prompt:
C:\> pip install --upgrade https://storage.googleapis.com/tensorflow/windows/gpu/tensorflow_gpu-0.12.0rc1-cp35-cp35m-win_amd64.whl
4. 如何进入Python命令行,使用tf呢
4.1 activate tensorflow
4.2 python
5如何在PyCharm使用呢:
5.1在PyCharm中打开设置界面Ctrl +alt +s快捷键
下面看到的是安装完Anaconda-python 2.7的解释器:
下面是手动切换到自己建立的tensorflow 的python3.5环境的解释器:
选中之后就能使用python的3.5的环境以及tensorflow的开发测试.
可见不论是在 python shell中还是在其他的python IDE中都是很容易的进行python的版本切换。
这比使用docker安装方便多了,关键是搞了半天,docker-tool安装好了,但是dock的tensorflow镜像下载不下了。
补充说明的是python以及python package的安装过程中使用国内的镜像比较快。
具体参考:https://github.com/matiji66/tensorflow-install
具体参考:https://github.com/matiji66/tensorflow-install
tensorflow安装环境:
win7 64
Conda --version Anaconda 64 4.3.13
1. 新建一个python 3.5
版本
conda create -n tensorflow python=3.5
2. Activate tensorflow
3. pip install tensorflow 默认是没有安装最新版本的
Both distributions include pip. To install the CPU-only version of TensorFlow, enter the following command at a command prompt:
C:\> pip install --upgrade https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-0.12.0rc1-cp35-cp35m-win_amd64.whl
To install the GPU version of TensorFlow, enter the following command at a command prompt:
C:\> pip install --upgrade https://storage.googleapis.com/tensorflow/windows/gpu/tensorflow_gpu-0.12.0rc1-cp35-cp35m-win_amd64.whl
4. 如何进入Python命令行,使用tf呢
4.1 activate tensorflow
4.2 python
5如何在PyCharm使用呢:
5.1在PyCharm中打开设置界面Ctrl +alt +s快捷键
下面看到的是安装完Anaconda-python 2.7的解释器:
下面是手动切换到自己建立的tensorflow 的python3.5环境的解释器:
选中之后就能使用python的3.5的环境以及tensorflow的开发测试.
可见不论是在 python shell中还是在其他的python IDE中都是很容易的进行python的版本切换。
这比使用docker安装方便多了,关键是搞了半天,docker-tool安装好了,但是dock的tensorflow镜像下载不下了。
补充说明的是python以及python package的安装过程中使用国内的镜像比较快。
具体参考:https://github.com/matiji66/tensorflow-install
相关文章推荐
- Windows安装CPU版的TensorFlow 0.12
- Windows安装TensorFlow(TF更新至0.12版,添加了Windows支持)
- 如何在Linux 系统 以及windows 系统安装 tensorflow -cpu -gpu 老版本 0.12 ,0.10
- Permission denied:multiarray.cp35-win_amd64.pyd(tensorflow0.12.0在windows下安装)
- 安装tensorflow---目前还没有支持windows
- [Linux]三种方案在Windows系统下安装ubuntu双系统(转)
- 在Windows下安装Cygwin和Hadoop的方案和注意事项
- 重装win8出现“输入的产品密钥与用于安装的任何可用windows映像都不匹配”问题解决方案
- windows下docker安装tensorflow利用Jupyter编程
- 在windows上安装tensorflow
- windows下使用docker安装tensorflow
- 解决windows 2003 sp1下安装arcsde 9.0 for sql server 2000 sp4概要方案
- windows docker安装 tensorflow
- Windows下通过Docker安装Tensorflow环境
- [Linux]三种方案在Windows系统下安装ubuntu双系统
- 【mac os x安装方案】新手安装指南:一步一步在Windows安装苹果雪豹系统【远景】
- Thinkpad E500在UEFI+GTP分区方案U盘安装Windows Server 2008 R2
- mongoDB在windows下安装与配置方案