i\'m new to tensorflow, today i installed tensorflow using:
C:\\>pip3 install --upgrade tensorflow
Collecting tensorflow
Using cached tensorflow-1.2.0-c
You may want to install Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017 and 2019.
Download msvcp140.dll and add to System32 folder.
my worked after this line of code
pip install tensorflow --upgrade --force-reinstall
Pay attention to CUDA operation, since exactly this error is reported when CUDA is not working at all. Try from cmd e.g. c:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\extras\demo_suite>oceanFFT.exe
If it fails, try to update driver (Device manager / Display adapters / NVIDIA...) of your graphics card.
based on python and cuda version copy one of the path(I used compiler:VS2017 15.8 ,CUDA:NO ,SIMD:x86_64 and this worked for me)
paste it after https://github.com/fo40225/tensorflow-windows-wheel/blob/master/
download *.whl
open anaconda and change directory to location of *.whl
run this command: pip install *.whl
(instead of * must be use name
of .whl file)
If you want to have Tensorflow Version 2 with the least dependencies, use this version:
pip install tensorflow==2.0.0b1
1) I did this : pip uninstall tensorflow
2) Downloaded the file from: tensorflow wheel
3) Then did this : pip install tensorflow-1.6.0-cp36-cp36m-win_amd64.whl
BUT it gave me this Error
ERROR: tensorflow-1.6.0-cp36-cp36m-win_amd64.whl is not a supported wheel on this platform.
so I tried to install tensorflow as a dependency in my installed Anaconda Navigator
AND IT WORKED FOR ME!