I\'m trying to install tensorflow on windows. I have python3 (3.5.2) and pip3 (9.0.1):
pip3 install --upgrade tensorflow
Collecting tensorflow
Could not
You need to install Python 3.7 to download end version of Tensorflow ->2.3 and some packages:
Just follow 3 steps: Install python 3.5.x version (64bit MUST) Install pip pip install tensorflow==2.0.0-alpha0
And you are good to go. Found this after struggling for days
This is what worked for me. Currently, Tensorflow only works with 64-bit windows, not 32-bit. So, you could create a new 64-bit environment and install tensorflow in it:
set CONDA_FORCE_32BIT=
conda create --name name_of_your_created_environment python=3.5
activate name_of_your_created_environment
conda install -c conda-forge tensorflow
CONDA_FORCE_32BIT=1 sets to a 32-bit environment whilst CONDA_FORCE_32BIT= sets to a 64-bit environment.
After spending hours I am able to fix TensorFlow installation issue on Windows. here is the summary https://stackoverflow.com/a/50475864/1996802
Try the following at a Python command prompt:
import platform
platform.architecture()[0]
It should display '64bit' Just having an x86 version of Python isn't enough. I had the same problem. Thought I had a 64 bit installation but it turned out to be 32 bit.
BTW. it will also work fine with the Conda Python 3.6 distribution. And indeed use the distro from the Gohlke page as indicated by Guillaume Jacquenot.
pip3 install --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.0.0-py3-none-any.whl
try this one under your python environment