Can't Install TensorFlow Via Pip

Viewed 787

I am trying to install TensorFlow via pip in the command line. I have satisfied all the requirements but all I get when executing pip install tensorflow is

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

ERROR: No matching distribution found for tensorflow

I also tried to install manylinux2010 but I get the same output. I'm running Windows 10 on a laptop with Python v. 3.8.5 installed. Pip version is 20.2.3 If you could help me that'd be great. Thanks!

5 Answers

Tensorflow as of Aug-13-2018 supports, Python 3.6.x, and only the 64 bit version.

I believe tensorflow only supports python version 3.6.x I would recommend you to create virtual environment with python version 3.6.x with conda:

conda create --name venv python=3.6.5
conda activate venv

Then try to install tensorflow it should work

Sometimes installation of tensorflow fails because the gpu doesn't support it. In this case you should look for a version of CUDA supported by your video card.

https://developer.nvidia.com/cuda-gpus

Related