Can't compile for Sparkfun IoT RedBoard ESP32 - missing Python Lib

I can’t compile Blink example for Sparkfun IoT RedBoard ESP32. I read several posts on Arduino site with similar errors on different boards, but didn’t find a solution. I was able to compile/upload the same sketch to an Arduino Uno. Here’s the error message:

Arduino: 1.8.19 (Mac OS X), Board: “SparkFun ESP32 IoT RedBoard, Disabled, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), 240MHz (WiFi/BT), QIO, 80MHz, 4MB (32Mb), 921600, Core 1, Core 1, None, Disabled”

[740] Error loading Python lib ‘/var/folders/nr/11b9z2n17rdbjg1p3pj5dbmm0000gn/T/_MEIDaj4zB/libpython3.8.dylib’: dlopen: dlopen(/var/folders/nr/11b9z2n17rdbjg1p3pj5dbmm0000gn/T/_MEIDaj4zB/libpython3.8.dylib, 10): Library not loaded: @loader_path/libintl.8.dylib

Referenced from: /var/folders/nr/11b9z2n17rdbjg1p3pj5dbmm0000gn/T/_MEIDaj4zB/libpython3.8.dylib

Reason: no suitable image found. Did find:

/var/folders/nr/11b9z2n17rdbjg1p3pj5dbmm0000gn/T/_MEIDaj4zB/libintl.8.dylib: cannot load ‘libintl.8.dylib’ (load command 0x80000034 is unknown)

/private/var/folders/nr/11b9z2n17rdbjg1p3pj5dbmm0000gn/T/_MEIDaj4zB/libintl.8.dylib: cannot load ‘libintl.8.dylib’ (load command 0x80000034 is unknown)

exit status 255

/private/var/folders/nr/11b9z2n17rdbjg1p3pj5dbmm0000gn/T/AppTranslocation/413A90A5-3388-4414-9A6E-9836473B2FBF/d/Arduino.app/Contents/Java/arduino-builder returned 255

Error compiling for board SparkFun ESP32 IoT RedBoard.

I tried Arduino version 2.0.4 (which isn’t supposed to run with my OSX, but it did) with same error. Has anyone seen this or a solution for this?

Thanks

I’m afraid that you have to reinstall Python. Hope sparkfun will suggest an easier solution.

Why is it looking for a Python library? I’ve never used Python. Is the library supposed to be a part of the Arduino IDE package?

Try going back to Arduino 1.8.X and see if that helps. I’d also recommend reinstalling board files and any libraries when you drop back.

(1.8.X was a lot more stable/compatible for me.)