0

How do I install a specific version of tensorflow on windows ?(I'm using pip 20.1.1 and python 3.8)

I've tried the command

pip install tensorflow==1.14.0

I get the following error

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

I've also tried using to install it by downloading the .whl file by running the command

pip install C:\Users\Admin\Downloads\tensorflow-1.14.0-cp37-cp37m-win_amd64.whl

Here I get this error

ERROR: tensorflow-1.14.0-cp37-cp37m-win_amd64.whl is not a supported wheel on this platform.

Ismael Padilla
  • 5,246
  • 4
  • 23
  • 35
Science Rocker
  • 7
  • 1
  • 1
  • 4
  • Does this answer your question? [Installing specific package versions with pip](https://stackoverflow.com/questions/5226311/installing-specific-package-versions-with-pip) –  Jun 29 '20 at 15:39

2 Answers2

0

You're on the right track by downloading the wheel file, but you need to use python 3.7. cp37 in the wheel filename indicates that it was built for CPython 3.7.

Once you have python 3.7, you can also pip install tensorflow==1.14.0. You can see the list of available wheels at https://pypi.org/project/tensorflow/1.14.0/#files

jkr
  • 17,119
  • 2
  • 42
  • 68
-1

So far, Tensorflow isn't supported for Python v3.8

To make use of tensorflow, you need to download previous versions of python.

About the wheel file you downloaded a file for v3.7 and trying to install with v3.8 which is why you get is not a supported wheel on this platform.

EDIT:

Python 3.8 supports Tensorflow v2 but not v1.

Isaac Frank
  • 351
  • 3
  • 12