After upgrading: "ModuleNotFoundError". How to fix?

My guess is that you have install using one python version and are running using another. You may well have p[ython 3.13 being the default when running a script. Run py -0 to find out the default (its the entry with a *).

Try using explicit python versions with the py.exe command for pip and your
script to avoid mismatched pip and python versions.

py -3.12 -m pip install -r python_requirements.txt
py -3.12  test.python.pip.module.py