pip install tensorflow ERROR:No matching distribution found for tensorflow - tensorflow

$ pip install tensorflow
ModuleNotFoundError: No module named 'tensorflow'
ERROR:Could not find a version that satisfies the requirement tensorflow
ERROR:No matching distribution found for tensorflow
search all answers in stack-overflow and relative sites

After searching solutions for half-day, I found this command working
python3 -m pip install --default-timeout=10000 tensorflow-macos

Related

Colab pip install --upgrade ternsorflow Returns Errors

I am trying to upgrade my tensorflow in the Colab to the latest
> pip install --upgrade ternsorflow
ERROR: Could not find a version that satisfies the requirement ternsorflow (from versions: none)
ERROR: No matching distribution found for ternsorflow
How can I get the latest version please, then?
CS
Just a typo. Replace ternsorflow by tensorflow.
spell check
ternsorflow >> tensorflow.

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

Error raised when installing tensorflow using pip
C:\Users\Lenovo>python --version
Python 3.6.0
C:\Users\Lenovo>pip --version
pip 19.1.1 from c:\users\lenovo\appdata\local\programs\python\python36-32\lib\site-packages\pip (python 3.6)
C:\Users\Lenovo>pip install tensorflow
Collecting tensorflow
ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none)
ERROR: No matching distribution found for tensorflow
You can use Python3.5.2 to install Tensorflow, but notice that it can not be installed on your environment and you should use base interpreter to install it then you can make your environment and inherit form the basic interpreter and use it in your environment.

Python cannot find Tensorflow module

With Python3.5, I try to use the 'tensorflow' module:
import tensorflow as tf
But.. it says No mudule named tensorflow
I just tried to download the module with pip3:
pip3 install --upgrade tensorflow-gpu
(I have all the requirements to run tensorflow with GPU support as described at tensorflow.org)
I've seen a similar question here ImportError: No module named tensorflow , here's a sum up of what's inside:
Make sure installation is correct via:
pip3 show tensorflow
You can optionally re-install it again using: pip install tensorflow==1.2.0 --ignore-installed
Make sure you're running the python code with Python 3.x, verify using: python --version
Make sure you install TF and run the script through the same user, avoid installing TF using sudo pip install... and running the code with python script.py

Cant import keras

I ran the following on my Anaconda command prompt for python 3.6:
pip install keras
Next, typing the following on Spyder:
import keras
The above gives me an error:
No module named 'tensorflow'
Tring to do pip install tensorflow on the Anaconda command prompt gives me the follwing error:
No matching distribution found for tensorflow
To install a module into anaconda, use
$ conda install tensorflow
The command that you ran
$ pip install tensorflow
will not install it inside the anaconda virtualenv for python.
If you try
$ python
>>> import keras
This will work after pip install tensorflow. However, use conda package manager to install modules to anaconda.

Issue while installing Tensorflow

While installing tensorflow(CPU only) I am facing below error :
>>> import tensorflow as tf
Traceback (most recent call last): File "", line 1, in
ImportError: No module named 'tensorflow'
I have python version 3.5
Did you first try:
pip3 install --upgrade tensorflow
It's maybe due to some missing .py files. Download the package from Github link and paste it on python35/Lib/site-packages
import tensorflow as tf
invokes tensorflow not install it there is great article how to install on tensorflow website.
You have not mentioned platform/OS you working on also steps taken if any before trying this command.
best thing for beginners I feel is Anaconda which is suit of packages required for data science.
Give it a try.
python3 -m pip install --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-0.12.0-py3-none-any.whl
You can search for the appropriate version you wish to install and update in the above mentioned url.
Try to install an old version of Tensorflow as:
pip install tensorflow==1.5.0
After installing the old version retry with the newest version, for example:
pip install tensorflow==1.9.0