Problems compiling for esp32-S3

:slight_smile: i all, my 2015 iMac can no longer compile any sketch for ESP32-S3. I am running Big Sur 11.7.10 and Arduino IDE 2.3.4. Have re-installed python 3.13 as well as ESP tool from terminal. When I try to compile any sketch it returns this error:

esptool.py v4.8.1
Creating esp32s3 image...
Merged 2 ELF sections
Successfully created esp32s3 image.

python3 /Users/reecebaile/Library/Arduino15/packages/esp32/hardware/esp32/3.1.3/tools/gen_esp32part.py -q /Users/reecebaile/Library/Caches/arduino/sketches/B62AC53E9E1790F78CC81AC58ADC2FE7/partitions.csv /Users/reecebaile/Library/Caches/arduino/sketches/B62AC53E9E1790F78CC81AC58ADC2FE7/Blink.ino.partitions.bin
fork/exec /Library/Frameworks/Python.framework/Versions/3.11/bin/python3: exec format error

Compilation error: fork/exec /Library/Frameworks/Python.framework/Versions/3.11/bin/python3: exec format error

Any suggestions what might be causing this??? Would greatly appreciate any help...:slight_smile:

Hi @ReeceBaile. I remember a previous similar report. Maybe the information shared there will help you to solve the problem:

It looks like your system is trying to execute Python 3.11, but it's running into an exec format error, which usually means the binary is either corrupted, incompatible with your macOS version, or not properly linked.