Problems Importing TensorFlow Package (on my Local install)

Hi,

I am having problems installing tensorflow package using PIP on my laptop:
I get errors saying that the package does not exist:


C:\Users\Nazih>pip3 -V
pip 23.0

C:\Users\Nazih>pip install tensorflow
ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none)
ERROR: No matching distribution found for tensorflow

C:\Users\Nazih>pip install tensorflow-cpu
ERROR: Could not find a version that satisfies the requirement tensorflow-cpu (from versions: none)
ERROR: No matching distribution found for tensorflow-cpu


I downloaded tensorflow package from:
Release TensorFlow 2.11.0 · tensorflow/tensorflow · GitHub

I am a bit rusty on how to install a downloaded package in python locally/manually.

Attaching directory screen shot as well.
Thanks for the help.

Regards
Nazih

I also had some issues installing packages on my local PC sometime ago, but when I used a virtual environment most of them got installed. You could try it:

1 Like

If you try this query https://community.deeplearning.ai/search?q=Conda you can find other discussions and experience people have had using Conda and/or Anaconda to set up and run course exercises locally.

1 Like

Gentlemen,

Thank you for the great support.
I also did some digging around, I found out that tensorflow is only supported with Python 3.7–3.10.

I had Python 3.11 installed.

I went and got Python 3.10 installed and had tensorflow installed without issues using pip install tensorflow

Thanks again.
Nazih

1 Like