python /Users/vlad/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/gen_esp32part.py -q /private/var/folders/f5/fz862vjx6klfknth0cw6m3qm0000gp/T/arduino-sketch-2CC78264938E1107044059EE0ED86D48/partitions.csv /private/var/folders/f5/fz862vjx6klfknth0cw6m3qm0000gp/T/arduino-sketch-2CC78264938E1107044059EE0ED86D48/WiFiScan.ino.partitions.bin
Using library WiFi at version 1.0 in folder: /Users/vlad/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/libraries/WiFi 
exec: "python": executable file not found in $PATH

Compilation error: exec: "python": executable file not found in $PATH