In Arduino preferences, select and enable Show verbose output during compilation and upload then compile again.
Notice the entire command where it is failing and you must see it will probably be failing at python .../gen_esp32part.py ...
Edit the board compiler's platform config using the command open $HOME/Library/Arduino15/packages/esp32/hardware/esp32/2.0.2/platform.txt
Search for gen_esp32part.py and replace that python with the entire path of your python. Like below:
From - tools.gen_esp32part.cmd=python "{runtime.platform.path}/tools/gen_esp32part.py"
To - tools.gen_esp32part.cmd=/usr/local/bin/python "{runtime.platform.path}/tools/gen_esp32part.py"
Error Message: exec: "python": executable file not found in $PATH Error compiling for board Adafruit ESP32 Feather.