Error: Could not find a version that satisfies the requirement tensorflow

Hi,

I’m having trouble installing TensorFlow in VS Code using pip. The error message says:

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

I’m using Python version 3.12.1 and have updated pip and setuptools, but the problem remains. Can you help me figure out how to fix this?

As background, I’m working on a school project in VS Code. A while back, I worked on my first AI project using Anaconda. My teacher suggested that the combination of Anaconda and VS Code might be causing the issue. I’ve uninstalled everything and only reinstalled VS Code and Python, but the problem persists.

Thanks in advance

Hi @Crews, If you are using pip install tensorflow the latest tensorflow version will be installed i.e. 2.15 which supports python version 3.9-3.11.

Could you please try by downgrading your python version in between 3.9 - 3.11. Thank You.

I am facing the same issue with Python 3.12 do we have any fix other than downgrading the version because I’ve dependencies.