I updated macOS to the new version Ventura 13.1 and python has stopped working
/Users/myuser/Library/Python/3.8/bin/pre-commit: /Library/Developer/CommandLineTools/usr/bin/python3: bad interpreter: No such file or directory
Running python3
from any directory works, but I don't really understand the error after the update
python3
Python 3.11.1 (v3.11.1:a7a450f84a, Dec 6 2022, 15:24:06) [Clang 13.0.0 (clang-
1300.0.29.30)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> exit()