https://www.youtube.com/watch?v=2VECcPofhP8 (แค่ติดตั้ง anaconda ก็พอ)
Python 2:
python -c "import sys; print sys.executable"
Python 3:
python -c "import sys; print(sys.executable)"
sed -i -e 's/=python /=python3 /g' ~/Library/Arduino15/packages/esp32/hardware/esp32/*/platform.txt