By default, Homebrew will install python 3.11 to this path:
Primary Path for the Executable
The main directory containing the python3.11 executable, as well as symlinks for python, python3, pip, and pip3 (if configured), is:
Apple Silicon (M1/M2/M3 Macs): /opt/homebrew/opt/python@3.11/libexec/bin
Intel Macs (default path): /usr/local/opt/python@3.11/libexec/bin
The code right now will always check incorrect homebrew Python path or for system Python (which comes with Xcode Tools with version 3.9.6). And it is in Unity package so I cannot modify it.
Or maybe support custom path by user's input.