Trying to install tensorflow in python environment

trying to load the pre trained model of cakchat chatbot server but when I run
(venv) C:\Users\ritik\cakechat>python tools/
Traceback (most recent call last):
File “C:\Users\ritik\cakechat\tools\”, line 11, in
from cakechat.utils.env import init_keras
File “C:\Users\ritik\cakechat\cakechat\utils\”, line 5, in
import tensorflow as tf
ModuleNotFoundError: No module named ‘tensorflow’

and when I want to install tensorflow it shows
(venv) C:\Users\ritik\cakechat>pip install --upgrade pip
Requirement already satisfied: pip in c:\users\ritik\cakechat\venv\lib\site-packages (23.3.1)

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

(venv) C:\Users\ritik\cakechat>import tensorflow as tf
‘import’ is not recognized as an internal or external command,
operable program or batch file.

I have the same problem.
TF does not support python 3.12… It was tested on 3.11 only…

Hi @Shankar_Sharma

Welcome to the TensorFlow Forum!

Please provide us some more details like which system OS you are using and which python version is installed in your system. The latest TensorFlow version 2.15 can be installed on Python 3.9 - 3.11 as per this tested TF build configurations.

Please refer to the TensorFlow install page to install tensorflow in your system and let us know if the issue still persists. Thank you.