ESP32: problem with compilation on MacOS 12.3 Monterey

but I linked python to python3 - it does not help
but when started from terminal it works

btw for whatever reason Arduino 2.x WORKS when started from GUI (after creating the link)
but Arduino 1.8.x does NOT work from GUI