No module tensorflow found

Im writing this code to just start visualizing my data series:

import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
#from pandas.plotting import register_matplotlib_converters
%matplotlib inline
from import rmse
from sklearn.preprocessing import MinMaxScaler

from keras.preprocessing.sequence import TimeseriesGenerator
from keras.models import Sequential
from keras.layers import Dense
from keras.layers import LSTM
from keras.layers import Dropout
import warnings

# Visualize the data in table form

# Filter which columns to visualize

but when I run it i get this:

ModuleNotFoundError                       Traceback (most recent call last)
/var/folders/4v/_w631kv96hs1ql8fm07vzlz80000gn/T/ipykernel_6630/ in <module>
---> 10 from keras.preprocessing.sequence import TimeseriesGenerator
     11 from keras.models import Sequential
     12 from keras.layers import Dense

~/opt/anaconda3/lib/python3.9/site-packages/keras/ in <module>
     18 [](
     19 """
---> 20 from keras import distribute
     21 from keras import models
     22 from keras.engine.input_layer import Input

~/opt/anaconda3/lib/python3.9/site-packages/keras/distribute/ in <module>
---> 18 from keras.distribute import sidecar_evaluator

~/opt/anaconda3/lib/python3.9/site-packages/keras/distribute/ in <module>
     15 """Python module for evaluation loop."""
---> 17 import tensorflow.compat.v2 as tf
     19 # isort: off

ModuleNotFoundError: No module named 'tensorflow'

How can I get that module installed?

dear quique123.

Thank you for your contribution to the anaconda community.

do you have tensorflow installed? haven’t you? I do not understand, but basically at the beginning of the program
“import tensorflow as tf”
is not written, the corresponding module will not be automatically imported.

And those packages are tied together by related packages, but basically should be resolved by scripts.

Best regards.