How to install tensorflow using pip install

Hello,

I’m trying to use tensorflow in VS Code and I need to pip install it but I’m not sure how.

Thanks!

Hi @Zm_476 . What have you tried out so far ? Where are you stuck ? Did you get an error message or something. It seems to me there are tons of help online on the subject, starting with official Tensorflow documentation. Thank you.

Hello @tagoma,

Here is the documentation I used:

this doesn’t work:

python3 -m pip install tensorflow

and returns this error:
ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none)
ERROR: No matching distribution found for tensorflow

Pretty standard error saying that there is no pip install command for something on tensorflow.org.
Also just in case you need this I use Mac OS Ventura 13.5, M3 Core iMac

Thanks

I may have found a problem,

I’m using python 3.12 and pip 23.3 and Tensorflow only supports Python 3.11 - 3.9 and pip 20.3 and below

2 Likes

what can I do to solve this?