On macOS Sequoia, a few users have had problems with typesetting documents that rely on the LaTeX package minted. It uses a tool called pygmentize. Please see the following article if you're having problems too,
texifier.com/docs/apps/type…
Hope this is helpful.
Essentially, please ensure that your `PATH` environment variable is set up properly so the typeset process can find the installed `pygmentize` binary.