How to install TensorFlow on Windows - python-3.x

I'm trying to install tensorflow library by using de command:
> pip install tensorflow
I already have the latest version of python (3.8.0), but I'm getting the next error message:
ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none)
ERROR: No matching distribution found for tensorflow
What am I missing?

Now Tensorflow supports Python 3.8
install Tensorflow using
pip install tensorflow
Follow the instructions mentioned in the Tensorflow website.

Related

Can't update tensorflow OS X Monterey

I write in terminal pip3 show tensorflow and that's what i get:
pip3 show tensorflow Name: tensorflow Version: 1.8.0
here is what i get when im trying to upgrade it with pip3 install tensorflow==2.5.0:
pip3 install tensorflow==2.5.0 Defaulting to user installation because normal site-packages is not writeable ERROR: Could not find a version that satisfies the requirement tensorflow==2.5.0 (from versions: none) ERROR: No matching distribution found for tensorflow==2.5.0
PYTHON VERSION - 3.8.9
I have also tried to do it through source installing, but the same problem

How to install pytorch in pipenv?

I tried to install pytorch in pipenv with the following code:
pipenv install torch===1.4.0 torchvision===0.5.0 -f https://download.pytorch.org/whl/torch_stable.html
but always get the following Error:
ERROR: Could not find a version that satisfies the requirement torch===1.4.0 (from versions: none)
ERROR: No matching distribution found for torch===1.4.0
I also tried it with the following command:
pipenv install https://download.pytorch.org/whl/cu90/torch-1.1.0-cp37-cp37m-win_amd64.whl
but this leads to the following Error message:
ERROR: torch-1.1.0-cp37-cp37m-win_amd64.whl is not a supported wheel on this platform.
Thanks for your help!
If you just want to install pytorch with CPU version, you can simply try pipenv install torch torchvision torchaudio, which is fine.
If you want to install pytorch with a specified CUDA version, for example CUDA 11.6, you can turn to pipenv run pip3 install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu116.

Could not find a version that satisfies the requirement tensorflow (from versions: none)

When i execute the command in my terminal
pip install --upgrade tensorflow
i get an error
ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none)
ERROR: No matching distribution found for tensorflow
There was a similiar question in stackoverflow. The cause for this error is that tensorflow supports only up to Python 3.7. So i checked my version
python3 --version3
--> 3.8.1
I tried to downgrade it with
conda install python=3.7
---> Collecting package metadata (current_repodata.json): done
Solving environment: done
# All requested packages already installed.
but it does not work. How can this be?
I am using manjaro as a distro.
Could the Python3.7 you're running be the 32-bit version? Tensorflow requires the 64-bit version of python.

ERROR: Could not find a version that satisfies the requirement tensorflow (fro versions: none)

I have MS Server 2012R2x64 and Python3.7 , i have installed needed packages, but when i try install tensorflow, i get sush error
C:\Windows\system32>pip3 install tensorflow
Collecting tensorflow
ERROR: Could not find a version that satisfies the requirement tensorflow (fro
m versions: none)
ERROR: No matching distribution found for tensorflow
I saw many similar topics here, but no one helped me.
This error means that there is no version(distributuon) for my OS,
Why there is no distirbution? because on my Win 8.1 x 64, python 3.7.2 tensorflow was installed very quickly. But on my server there is more RAM, so to perform analysis i need my server.
How to install tensorflow on my server?
In case people are still having this problem, it seems TensorFlow simply stopped hosting certain versions from PyPI. The pip error should now tell you what options are actually available. For example:
$ pip install tensorflow==1.11.0
Collecting tensorflow==1.11.0
ERROR: Could not find a version that satisfies the requirement tensorflow==1.11.0 (from versions: 1.13.0rc1, 1.13.0rc2, 1.13.1, 1.13.2, 1.14.0rc0, 1.14.0rc1, 1.14.0, 2.0.0a0, 2.0.0b0, 2.0.0b1, 2.0.0rc0)
ERROR: No matching distribution found for tensorflow==1.11.0
To install tensorflow normally with pip from a requirements file, you have to use one of the supported versions for example the ones listed above. The closest one for the example would be 1.13.1. However the easiest fix is to change the requirement to tensorflow>=1.11.0, which will install the latest ver 1 distribution, 1.14.0.
Try to follow with these instructions:
Install TensorFlow with pip
In particuar, you can try using this command:
python3 -m pip install --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.12.0-py3-none-any.whl
but if it does not work, additional tips or other URLs can be found under the link above.
I hope I helped.

Issues while installing tensorflow for Python 3.7 in Mac

I am using macOS Sierra(on GPU support) with python3.7.0 installed.
Whenever I am trying to install tensorflow with the following command,
pip3 install tensorflow
I am getting the following issues:
Could not find a version that satisfies the requirement tensorflow (from versions: )
No matching distribution found for tensorflow.
Any help or suggestions are welcome.
Tensorflow does not support Python 3.7 yet. Use Python 3.6. See https://github.com/tensorflow/tensorflow/issues/17022.

Resources