ModuleNotFoundError: No module named 'tensorflow'

I have already installed TensorFlow via pip however I’m still getting this error. For context, I am on Mac, Python version 3.10.9, and used the instructions at: Install TensorFlow with pip

From what I read online, I think it might be a problem with the environments I installed TensorFlow and python in, but I don’t know the exact issue and how to fix it. Would appreciate any help.