Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error when installing Tensorflow - Python 3.8

I'm new to programming and following a course where I must install Tensorflow. The issue is that I'm using Python 3.8 which I understand isn't supported by Tensorflow.

I've downloaded Python 3.6 but I don't know how to switch this as my default version of python.

Would it be best to set up a venv using python 3.6 for my program and install Tensorflow in this venv?

Also, I using Windows and Powershell.

like image 535
Matthew Gilshnan Avatar asked Dec 12 '19 10:12

Matthew Gilshnan


1 Answers

Tensorflow is only supported until python 3.7 as of now. You can check it here: https://www.tensorflow.org/install/pip

But there is a way to install it on Python3.8, just run the below command that will do your job:

python -m pip install --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.12.0-py3-none-any.whl

This command work on mac and windows both, I haven't tested on Linux.

like image 86
Aashish Avatar answered Sep 23 '22 01:09

Aashish