Your problem is probably due to using Python 3.11 with TensorFlow — they’re not fully compatible yet. I recommend using Python 3.10 instead.
An easy way to manage different Python versions is with Anaconda. You can read the installation guide here: https://www.anaconda.com/docs/getting-started/anaconda/install
Then just create a new environment like this:
conda create -n venv python=3.10
conda activate venv # Now you're using the Python version inside venv
conda install tensorflow # Or use pip: pip install tensorflow
More info here: Conda create and conda install
This should fix the DLL error. Good luck!