• Register
0 votes
77 views

Problem :

I want to intstall the TensorFlow using pip.

I tried below command:

$ pip install tensorflow –user

But I got below error:

Collecting tensorflow
Could not find a version that satisfies the requirement tensorflow (from versions: )
No matching distribution found for tensorflow

How can I install the TensorFlow?

8 4 2
2,300 points

1 Answer

0 votes

Solution :

I was facing the same issue on the Windows 10 with Python 3.6.X version then after checking properly I found that I had Python-32 bit installation on the 64 bit machine. As TensorFlow is only compatible with the 64bit installation of python and not with 32 bit of Python so I followed below procedure to fix it

I had download 64 bit installer manually to install the Python 64 bit. And after that added below paths to my PATH environment.

C:\Users\AppData\Local\Programs\Python\Python36
C:\Users\AppData\Local\Programs\Python\Python36\Scripts

Then I ran the gpupdate /Force on my command prompt. If the python command is not working for the 64 bit then restart the machine.

Then you should run python on the command prompt. And it must show 64 bit

C:\Users\YOURNAME>python
Python 3.6.3 (v3.6.3:2c5fed8, Oct  3 2017, 18:11:49) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

Then I ran below command to install the tensorflow CPU version.

pip3 install --upgrade tensorflow
5 2 1
4,980 points

Related questions

0 votes
1 answer 84 views
84 views
Problem : When I try to install PyGame with:pip install pygame i am getting below error python could not find a version that satisfies the requirement
asked Oct 22, 2019 peterlaw 6.9k points
1 vote
1 answer 57 views
57 views
Problem : I am very beginner to Tensorflow. I am trying to install the Tensorflow but I am unable to do so. I am following below procedure to install the tensorflow. >>> python -V Python 2.7.6 >>> pip -V pip 1.5.4 from /usr/lib/python2.7/dist-packages (python 2 ... /root/.pip/pip.log I am stuck with this error from past couple of days. Still unable to fix it. Please guide me in fixing this issue?
asked Mar 28 morrisBson 3.2k points
0 votes
2 answers 232 views
232 views
Problem : Currently I have installed Python version 3.5 and 3.6 and anaconda on my box. The following error comes up while trying to install tensorflow below are the steps https://www.tensorflow.org/install/install_windows using the anaconda (tensorflow) C:> pip install --ignore- ... . As I am very much new to Python, I am unable to resolve this problem. I am using the Windows 10 with 64bit.
asked Dec 11, 2019 alecxe 7.5k points
0 votes
2 answers 336 views
336 views
Problem : In the MacOS Mojave terminal I am trying to install a python package with pip. At the end of it says as follows : You are using pip version 10.0.1, however version 18.1 is available. You should consider upgrading via the 'pip install --upgrade pip' command. Here ... to do.Also I just realized that it says Python 2.7 in the error message but I have python 3 and want to use only python 3.
asked Dec 10, 2019 alecxe 7.5k points
0 votes
1 answer 1.2K views
1.2K views
Problem : I am very new to Quartz. So whenever I try to install Quartz on my system using pip install Quartz, I face the following error. Complete output from command python setup.py egg_info: Traceback (most recent call last): File "<string>", line 1, in <module> ... [Errno 2] No such file or directory: 'requirements.txt' I am using Mac OSX with Anaconda. Does anyone have any clue on this issue?
asked Nov 27, 2019 alecxe 7.5k points