Unable to install tensorflow in cygwin - python

I am trying to install tensorflow in cygwin on my Windows 7 machine using pip install tensorflow==2.9.0 command but it says
ERROR: Could not find a version that satisfies the requirement tensorflow==2.9.0 (from versions: none)
ERROR: No matching distribution found for tensorflow==2.9.0
I tried using pip install tensorflow but it gives me a similar error.
The python version that I have is 3.8.12 and the python is 64 bits.
Please help me to install it.

Related

ERROR : could not find a version that satisfies the requirement tensorflow

I'm using raspberry model 3B+ , I made a venv and then tried to install tensorflow but I get these 2 errors
ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none)
ERROR: No matching distribution found for tensorflow
I managed to install other libraries but only tensorflow I wasn't able to install.
I just had this issue on the latest Macbook Pro (Apple M1 Pro Chip). The solution seems to be to pip install tensorflow-macos. This gave me an error ERROR: Failed building wheel for h5py which I solved by following this post.
Could you please verify the below requirements:
Is your pc 64 bits, the python and os used should be 64 bits.
$ sudo pip3 install setuptools --upgrade
TensorFlow v2.4 is compatible with Python 3.6 - 3.8. For more information, please take a look at the tested build configurations.
4. verify the below:
python --version, python -m pip --version and python -m pip install -vvv tensorflow [have latest version of all including tensorflow stable version 2.x]

ERROR: Could not find a version that satisfies the requirement tensorflow

I intend to install tensorflow using pip in command prompt. This is what I have written:
pip install tensorflow
and
py -m pip install tensorflow
However, this is the error that appears:
ERROR: Could not find a version that satisfies the requirement tensorflow
ERROR: No matching distribution found for tensorflow
The version of my Python is 3.7 and it is 64 bit. I can't download it either through the settings.

tensorflow-1.0.1-py2-none-any.whl is not a supported wheel on this platform

I am using python 3.7 and after running the command:
python -m pip --upgrade tensorflow
it is showing me an error of:
Could not find a version that satisfies the requirement tensorflow (from versions: )
No matching distribution found for tensorflow
I had such a problem on Windows and at the same time did not have it on macOS. The solution was to install Anaconda or the image of tensorflow in docker.

I cannot install torch with pip3 but I can with pip

So following the guide on pytorchs homepage I should be able to install pytorch by running:
pip3 install torch===1.3.1 torchvision===0.4.2 -f https://download.pytorch.org/whl/torch_stable.html
If I do so, I get the error message
Could not find a version that satisfies the requirement torch===1.3.1 (from versions: 0.1.2, 0.1.2.post1, 0.1.2.post2)
No matching distribution found for torch===1.3.1
If I install using pip (and not pip3) it works, but I cannot import torch afterwards - it seems like pip3 is handling my packages.
OS: Windows 10
IDE: VScode
It turned out, that I was using a 32-bit version (eventhough python told me it was a 64 bit). Installing the 64-bit solved the issue

How to I install Tensorflow I have problem

I'm currently trying to pip install tensorflow. But I get the following error:
ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none)
ERROR: No matching distribution found for tensorflow
What should I do?
Oh and by the way i tried installing it with the following command:
python -m pip install --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.12.0-py3-none-any.whl
But i think i just made it even worse.
Currently on Windows 10
Thanks!
You are trying to install a TensorFlow package for Mac OS. Try with a suitable package for Windows 10. For example if you have Python 3.6 and want the CPU-only version you could try the following:
python -m pip install --upgrade https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-1.14.0-cp36-cp36m-win_amd64.whl
But it is recommended to install TensorFlow using a virtualenv as shown on the official documentation.

Categories

Resources