how to natively install tensorflow on windows

preview_player
Показать описание
This is a walk-through of installing Tensorflow in Windows.
TensorFlow is an open source software library for machine
learning in various kinds of perceptual and language
understanding tasks. It is currently used for both research
and production by 50 different teams in dozens of commercial Google products, such as speech recognition, Gmail, Google Photos, and search, many of which had previously used its predecessor DistBelief. TensorFlow was originally developed
by the Google Brain team for Google's research and production purposes and later released under the Apache 2.0 open source license on November 9, 2015.

Here is the link to download python:
Рекомендации по теме
Комментарии
Автор

i was facing Tensorflow importing error for long and this video just resolved everything. ( I installed the older version of python before)

jasworld
Автор

thank you so much. I looked up so many references but this is the only one that worked for me.

anusuyanallathambi
Автор

Thank you so much! Took me so long to figure out! For those who want to save your time, I highly suggest download EXACT same version (3.5.2) as instructed in this video. (at first I downloaded latest Python 3.6 and it didn't work).

To wire up with Jupyter (a.k.a. iPython notebook), in Window Command type: pip3 install jupyter
After install jupyter, in the same command window, type: jupyter notebook
to activate jupyter

hanlinwu
Автор

Sick transition skills when opening cmd

nhljsom
Автор

Thank you !! Atlast installed tensorflow on windows !!! thumbs up !!

santhoshbantiya
Автор

You are one gem of a guy... Simplest tf installation ever

engineeringinside
Автор

Thank you! You have been of great help! Cheers!

abisheks
Автор

hello, I'm still getting an Error: Could not find a version that satisfies the requirement tensorflow <from vrsion: none>
Error: No matching distribution found for tensorflow

jayanthkumar
Автор

i got error when importing ... native tensorflow runtime failed

MrSuntutorial
Автор

'pip' is not recognized as an internal or external command,
operable program or batch file.

lrbho
Автор

Should i worry about this message ? "2018-05-12 21:08:21.766617: I Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2"

the print sess.run is working tho

lolieasy
Автор

I got many lines of errors and then output is displayed.


Errors:
E OpKernel ('op: "BestSplits" device_type: "CPU"') for unknown op: BestSplits
E OpKernel ('op: "CountExtremelyRandomStats" device_type: "CPU"') for unknown op: CountExtremelyRandomStats
E OpKernel ('op: "FinishedNodes" device_type: "CPU"') for unknown op: FinishedNodes
E OpKernel ('op: "GrowTree" device_type: "CPU"') for unknown op: GrowTree
E OpKernel ('op: "ReinterpretStringToFloat" device_type: "CPU"') for unknown op: ReinterpretStringToFloat
E OpKernel ('op: "SampleInputs" device_type: "CPU"') for unknown op: SampleInputs
E OpKernel ('op: "ScatterAddNdim" device_type: "CPU"') for unknown op: ScatterAddNdim
E OpKernel ('op: "TopNInsert" device_type: "CPU"') for unknown op: TopNInsert
E OpKernel ('op: "TopNRemove" device_type: "CPU"') for unknown op: TopNRemove
E OpKernel ('op: "TreePredictions" device_type: "CPU"') for unknown op: TreePredictions
E OpKernel ('op: "UpdateFertileSlots" device_type: "CPU"') for unknown op: UpdateFertileSlots
b'Hello'

yashaswinirao
Автор

Collecting tensorflow
Could not find a version that satisfies the requirement tensorflow (from versions: )
No matching distribution found for tensorflow

//I am getting this

yash
Автор

How do you configure tensorflow on windows after you clone the repo like on linux
Usually it outputs:
$ ./configure
Please specify the location of python. [Default is /usr/bin/python]:
Do you wish to build TensorFlow with Google Cloud Platform support? [y/N] N
No Google Cloud Platform support will be enabled for TensorFlow
Do you wish to build TensorFlow with GPU support? [y/N] y
GPU support will be enabled for TensorFlow
Please specify which gcc nvcc should use as the host compiler. [Default is /usr/bin/gcc]:
Please specify the Cuda SDK version you want to use, e.g. 7.0. [Leave empty to use system default]: 8.0
Please specify the location where CUDA 8.0 toolkit is installed. Refer to README.md for more details. [Default is /usr/local/cuda]:
Please specify the cuDNN version you want to use. [Leave empty to use system default]: 5
Please specify the location where cuDNN 5 library is installed. Refer to README.md for more details. [Default is /usr/local/cuda]:
Please specify a list of comma-separated Cuda compute capabilities you want to build with.
Please note that each additional compute capability significantly increases your build time and binary size.
[Default is: "3.5, 5.2"]: 3.0
Setting up Cuda include
Setting up Cuda lib
Setting up Cuda bin
Setting up Cuda nvvm
Setting up CUPTI include
Setting up CUPTI lib64
Configuration finished

However on windows when I execute bash configure I get:
Please specify the location of python. [Default is /usr/bin/python]:
Please specify optimization flags to use during compilation
Do you wish to build tensorflow with XLA just in time complier
Please input the desire Python Library path to use
Using python library path ....

end
any suggestions ?

emptychannel
Автор

Could not find a version that satisfies the requirement tensorflow (from versions: )
No matching distribution found for tensorflow :(

make sure you have Python 3.5 installed.

Installed python 3.5.2 still cant

manfyegoh
Автор

I installed according to instructions, but upon importing says that no module "tensorflow" what could be the problem?

СергейВласов-ья
Автор

native installation does not mean installing it via command interface ... but rather describe a one or the other ways to join with other tooling ... which is actually a pretty big cock on tensor flow windows as it tends not to build correctly for visual c++ application

aloysen
Автор

it keeps on saying this... for every version of python. 3.6, 3.5.2 both

'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/tensorflow/

druvikapandita
Автор

I am having this error "Error importing tensorflow. Unless you are using bazel,
you should not try to import tensorflow from its source directory;
please exit the tensorflow source tree, and relaunch your python interpreter
from there."

YaskShelat
Автор

how we add python or tensorflow to PATH ; please help

manelbentouati