I want to install Tensorflow 1.o for python on windows.
This is information for my system.
D:>python --version Python 3.5.2 :: Anaconda 4.2.0 (32-bit) D:>pip3 --version pip 9.0.1 from d:webanacondalibsite-packages (python 3.5)'
But, when I execute below command,
D:>pip3 install tensorflow Collecting tensorflow Could not find a version that satisfies the requirement tensorflow (from versions: ) No matching distribution found for tensorflow
I don’t understand what the problem is…
And I tried another way…
This is case when I use Conda
(tensorflow) D:>pip install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-1.0.0-cp35-cp35m-win_x86_64.whl tensorflow-1.0.0-cp35-cp35m-win_x86_64.whl is not a supported wheel on this platform.
What is the problem?
I was in same problem.
Below command solved my problem
pip3 install --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.0.0-py3-none-any.whl
to find the list of all the urls based on the python version and CPU or GPU only refer to:
Tensorflow requires a 64-bit version of Python.
Additionally, it only supports Python 3.5.x through Python 3.8.x.
If you’re using a 32-bit version of Python or a version that’s too old or new, then you’ll get that error message.
To fix it, you can install the 64-bit version of Python 3.8.6 via Python’s website.
Tensorflow on windows needs python 3.5. You can follow following steps to activate python 3.5 in anaconda:
- See which version of python you have:
conda search python
- If you already have python 3.5 then go to step 3
conda create -n py35 python=3.5 anacondato create python 3.5
- Activate python 3.5 using
- Now install tensorflow using
conda install tensorflow
If step4 is not working i.e, something like “tensorflow: no package found ” then follow this tutorial to forge
conda-forge channel and then try installing tensorflow using step4. It worked for me.
Installing with Anaconda
conda create --name tensorflow python=3.5 activate tensorflow conda install jupyter conda install scipy pip install tensorflow or pip install tensorflow-gpu
It is important to add python=3.5 at the end of the first line, because it will install Python 3.5.
I was getting the same error
- Get Python 3.5
- Upgrade pip version to 9
- Install tensorflow
It worked for me
From your python version output, looks like that you are using Anaconda python, in that case, there is a simple way to install tensorflow.
conda install -c conda-forge tensorflow
This command will take care of all dependencies like upgrade/downgrade etc.
I did it with:
python3 -m pip install --upgrade tensorflow
pip worked for me
python -m pip install --upgrade pip