Repository navigation
Windows support #42
Description
Activity
Did you see the Download and Setup section on the TensorFlow website?
It should be a normal pip setup for Windows. Though of course there is always Docker for a super fast setup.
Reacted by Paolo Rota, dawntom, Amir, Shikhar Tanwar, Long Pei, Nicholas Skinner, Ninad jadhav, imhappy, GarYves, seanoconnor3000 and 71 moreYou can run it inside docker (that is what worked for me). Here are the steps:
- Download and install docker toolbox for windows
- Run the folowing command to create a docker virtual machine:
docker-machine create vdocker -d virtualbox
- In a cmd window type the following:
FOR /f "tokens=*" %i IN ('docker-machine env --shell cmd vdocker') DO %idocker run -it b.gcr.io/tensorflow/tensorflow
After a short while, you will get a linux shell. Type
pythonand have fun :)Reacted by Sarthak Ahuja, Stavros Lamprou, WoooHaa, ZhuFengdaaa, Andrews Cordolino Sobral, trickytaste, lekhabs243, robertwgh, mannapov-skiva, Val and 29 moreReacted by GoingMyWay, Suriyaa Sundararuban, Prabakaran Kumaresshan, Max Ungless, Conor Sheehan and Shai CohenI rather use PIP but when I try :
pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.5.0-cp27-none-linux_x86_64.whl
it gives me an error:
tensorflow-0.5.0-cp27-none-linux_x86_64.whl is not a supported wheel on this pla
tform.On Mon, Nov 9, 2015 at 2:24 PM, Phil Reither [email protected]
wrote:Did you see the Download and Setup
http://www.tensorflow.org/get_started/os_setup.md section on the
TensorFlow website?It should be a normal pip setup for Windows
https://stackoverflow.com/questions/4750806/how-to-install-pip-on-windows.
Though of course there is always Docker for a super fast setup
http://www.tensorflow.org/get_started/os_setup.md#docker-based_installation
.—
Reply to this email directly or view it on GitHub
#42 (comment)
.Reacted by Souradeep Nanda, laubonghaudoi, PodGen4, Plinio Silveira and wei songIt gives me an error:
An error occurred trying to connect: Post
http://localhost:2375/v1.21/containers
/create: dial tcp 127.0.0.1:2375: ConnectEx tcp: No connection could be
made bec
ause the target machine actively refused it.On Mon, Nov 9, 2015 at 2:24 PM, Uri Shaked [email protected] wrote:
You can run it inside docker (that is what worked for me). Here are the
steps:- Download and install docker toolbox for windows
https://www.docker.com/docker-toolbox - Open a cmd window, and type: docker run -it
b.gcr.io/tensorflow/tensorflow - After a short while, you will get a linux shell. Type python and
have fun :)
—
Reply to this email directly or view it on GitHub
#42 (comment)
.- Download and install docker toolbox for windows
@aebk2015 is that with the docker? I forgot another step, you also need to create a docker vm after installing the docker toolbox, the commands are:
docker-machine create vdocker -d virtualboxFOR /f "tokens=*" %i IN ('docker-machine env --shell cmd vdocker') DO %i
Uri, I tried installing docker toolbox following your previous commands
but still it gives me the same error:'docker-machine' is not recognized as an internal or external command,
operable program or batch file.On Mon, Nov 9, 2015 at 2:48 PM, Uri Shaked [email protected] wrote:
@aebk2015 https://github.com/aebk2015 is that with the docker? I forgot
another step, you also need to create a docker vm after installing the
docker toolbox, the commands are:- docker-machine create vdocker -d virtualbox
- FOR /f "tokens=*" %i IN ('docker-machine env --shell cmd vdocker')
DO %i
—
Reply to this email directly or view it on GitHub
#42 (comment)
.conda binary package would be nice (in addition to wheels) on windows, and build instructions with msvc or mingw compilers
Reacted by RMerging this discussion with #17 to keep all the good info in one place.
Reacted by RI installed docker and it fails with an error message when I try a quick start
Reacted by 杨小事er@jgharris7 run as admin
I put up some instructions / screenshots of running TensorFlow in a Docker Machine using the commands above if it's helpful for anyone. I was able to get it running on my Windows machine.
Reacted by Matt V, ManjunathGIT, Stefano Cosentino, Cpop and Jithu R Jacobwhere is the version tensorflow that supporting windows ? thank you
TensorFlow needs a windows compatible version please!
Reacted by Fei Tian, gpinaki123, Farid Cheraghi, Gritbear, Mihail Burduja, Erick Fonseca, Vamshi Chollati, Honsl, Alexander Tsema, Roman and 83 moreLooking forward to a Win version or Conda package; getting Docker working's turning out to be a PIA; errors about bios settings, hosts already existing, vdocker not being running, Missing opening '(' after keyword 'for' etc.
Reacted by DarkseidOMEGAeffect, wanghewen, Amy Wang, Cpop, Bejoy John and Pragyaditya Das122 remaining items
Sadly one nasty part is the integration with Google's Cloud Dataflow like in this example. You now have the choice of having TensorFlow (supporting only Python 3.5) or Apache Beam SDK (supporting only Python 2.7), but not both. 🙈
This below link explain step by step with screenshot to install tensorflow on windows, docker not required.
http://start2deeplearning.blogspot.comHello everybody....
I was trying to install tensorflow with pip commands and it was not supported...I am using windows system and python 2.7. The tflearn was possible to install. Do you have any suggestions?
@raphaccgil Hi. Tensorflow is not yet supported on Python 2.7 on Windows System. Instead you can do the following:
- Install Python 3/3.5 [64-bit]
- Go to python installation folder using CMD
- cd to Scripts folder.
- Use command:
pip3.5.exe install tensorflow
It will install perfectly.
Check your installation using:
import tensorflow as tf
in IDLE.
Hope this helps :)Reacted by Olaf Horstmann@NitinMahajan1 Hi. Try to install it as follows:
- Install Python 3/3.6 [64-bit]
- Go to python installation folder using CMD
- cd to Scripts folder.
- Use command:
pip3.6.exe install tensorflow
It will install perfectly.
Check your installation using:
import tensorflow as tf
in IDLE.
Hope this helps :)iget this error:
tensorflow_gpu-1.0.0-cp35-cp35m-win_x86_64.whl is not a supported wheel on this platform.
I have a geforce gtx 970 and windows 10 x64 home edition and anaconde python 3.6 is already installed!
what is the problem?@ehfo0 It requires Python 3.5
@ehfo0 : when you want to download the wheel package, pay attention to the
cp3xsection.
tensorflow_gpu-1.0.0-cp35-cp35m-win_x86_64.whl
cp35 means it needs python 3.5!@sunsided and @Coderx7: Thanks for helping out @ehfo0!
This thread is getting a bit long, so I'm going to lock it for new conversation. If you have new questions about Windows support, please try Stack Overflow first, or open a new issue here if there appears to be a bug or you have a new feature request.
- locked and limited conversation to collaborators
on Mar 6, 2017

I just learned about TensorFlow and I want to install on Windows 7, 64. I have both Python 2.7 and 3.5 on my PC.
Thanks,