SolderedElectronics / Inkplate-Arduino-library

Inkplate family Arduino library. The easiest way to add e-paper to your project.
https://inkplate.readthedocs.io/en/latest/arduino.html
GNU Lesser General Public License v3.0
249 stars 78 forks source link

macOS upcoming release removes python 2, causes odd issue #137

Closed kidGodzilla closed 1 year ago

kidGodzilla commented 2 years ago

I use a developer preview build of macOS for work, and I think an upcoming release is going to break the compilation process.

https://developer.apple.com/documentation/macos-release-notes/macos-12_3-release-notes#Python

Basically, "python" won't be available in CLI, only python3. Not super easy to alias it and get it in your $PATH.

Further, once I was able to get python3 in my path as just python, I am still unable to compile a blank sketch targeting Inkplate.

exec: "python": executable file not found in $PATH
Error compiling for board Inkplate 6 plus (ESP32).

I've tried nightly build of Arduino IDE and manually updating the library to match the repo, seems to be a current issue.

Had everything running smoothly for a few months before the update.

Kind of seems like some nuance in the Arduino IDE (Electron?) app not having access to my full $PATH. It definitely doesn't seem to have access to things I've aded to .zshrc (.bash_profile).

Feel free to tell me if I'm just missing something obvious šŸ˜…

--

Path / which :

āžœ  ~ echo $PATH
/Users/jamesfuthey/.nvm/versions/node/v16.13.1/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/Users/jamesfuthey/bin/python
āžœ  ~ which python
/usr/local/bin/python
kidGodzilla commented 2 years ago

Compilation of blank sketch for Inkplate 6 Plus:

Arduino: 1.8.20 Hourly Build 2021/12/20 07:34 (Mac OS X), Board: "Inkplate 6 plus (ESP32), Enabled, Default, 80MHz (WiFi/BT), 115200, Warn"

/Applications/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/jamesfuthey/Library/Arduino15/packages -hardware /Users/jamesfuthey/Documents/Arduino/hardware -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/jamesfuthey/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/jamesfuthey/Documents/Arduino/libraries -fqbn=Croduino_Boards:Inkplate:Inkplate6plus:PSRAM=enabled,PartitionScheme=default,CPUFreq=80,UploadSpeed=115200,DebugLevel=warn -ide-version=10820 -build-path /var/folders/9t/_17bd0x91rb6s70jndbqdf_r0000gn/T/arduino_build_607872 -warnings=default -build-cache /var/folders/9t/_17bd0x91rb6s70jndbqdf_r0000gn/T/arduino_cache_422386 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.esptool_py.path=/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/tools/esptool_py/3.0.0 -prefs=runtime.tools.esptool_py-3.0.0.path=/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/tools/esptool_py/3.0.0 -prefs=runtime.tools.xtensa-esp32-elf-gcc.path=/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/tools/xtensa-esp32-elf-gcc/1.22.0-96-g2852398-5.2.0 -prefs=runtime.tools.xtensa-esp32-elf-gcc-1.22.0-96-g2852398-5.2.0.path=/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/tools/xtensa-esp32-elf-gcc/1.22.0-96-g2852398-5.2.0 -prefs=runtime.tools.mkspiffs.path=/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/tools/mkspiffs/0.2.3 -prefs=runtime.tools.mkspiffs-0.2.3.path=/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/tools/mkspiffs/0.2.3 -verbose /var/folders/9t/_17bd0x91rb6s70jndbqdf_r0000gn/T/untitled2022188680.tmp/sketch_mar01a/sketch_mar01a.ino
/Applications/Arduino.app/Contents/Java/arduino-builder -compile -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/jamesfuthey/Library/Arduino15/packages -hardware /Users/jamesfuthey/Documents/Arduino/hardware -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/jamesfuthey/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/jamesfuthey/Documents/Arduino/libraries -fqbn=Croduino_Boards:Inkplate:Inkplate6plus:PSRAM=enabled,PartitionScheme=default,CPUFreq=80,UploadSpeed=115200,DebugLevel=warn -ide-version=10820 -build-path /var/folders/9t/_17bd0x91rb6s70jndbqdf_r0000gn/T/arduino_build_607872 -warnings=default -build-cache /var/folders/9t/_17bd0x91rb6s70jndbqdf_r0000gn/T/arduino_cache_422386 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.esptool_py.path=/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/tools/esptool_py/3.0.0 -prefs=runtime.tools.esptool_py-3.0.0.path=/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/tools/esptool_py/3.0.0 -prefs=runtime.tools.xtensa-esp32-elf-gcc.path=/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/tools/xtensa-esp32-elf-gcc/1.22.0-96-g2852398-5.2.0 -prefs=runtime.tools.xtensa-esp32-elf-gcc-1.22.0-96-g2852398-5.2.0.path=/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/tools/xtensa-esp32-elf-gcc/1.22.0-96-g2852398-5.2.0 -prefs=runtime.tools.mkspiffs.path=/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/tools/mkspiffs/0.2.3 -prefs=runtime.tools.mkspiffs-0.2.3.path=/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/tools/mkspiffs/0.2.3 -verbose /var/folders/9t/_17bd0x91rb6s70jndbqdf_r0000gn/T/untitled2022188680.tmp/sketch_mar01a/sketch_mar01a.ino
Using board 'Inkplate6plus' from platform in folder: /Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1
Using core 'Inkplate' from platform in folder: /Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1
Warning: Board breadboard:avr:atmega328bb doesn't define a 'build.board' preference. Auto-set to: AVR_ATMEGA328BB
bash -c "[ ! -f /var/folders/9t/_17bd0x91rb6s70jndbqdf_r0000gn/T/untitled2022188680.tmp/sketch_mar01a/partitions.csv ] || cp -f /var/folders/9t/_17bd0x91rb6s70jndbqdf_r0000gn/T/untitled2022188680.tmp/sketch_mar01a/partitions.csv /var/folders/9t/_17bd0x91rb6s70jndbqdf_r0000gn/T/arduino_build_607872/partitions.csv"
bash -c "[ -f /var/folders/9t/_17bd0x91rb6s70jndbqdf_r0000gn/T/arduino_build_607872/partitions.csv ] || cp /Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/partitions/default.csv /var/folders/9t/_17bd0x91rb6s70jndbqdf_r0000gn/T/arduino_build_607872/partitions.csv"
Detecting libraries used...
/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/tools/xtensa-esp32-elf-gcc/1.22.0-96-g2852398-5.2.0/bin/xtensa-esp32-elf-g++ -DESP_PLATFORM "-DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\"" -DHAVE_CONFIG_H -DGCC_NOT_5_2_0=0 -DWITH_POSIX -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/config -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/app_trace -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/app_update -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/asio -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/bootloader_support -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/bt -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/coap -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/console -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/driver -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/efuse -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/esp-tls -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/esp32 -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/esp_adc_cal -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/esp_event -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/esp_http_client -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/esp_http_server -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/esp_https_ota -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/esp_https_server -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/esp_ringbuf -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/esp_websocket_client -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/espcoredump -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/ethernet -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/expat -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/fatfs -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/freemodbus -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/freertos -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/heap -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/idf_test -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/jsmn -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/json -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/libsodium -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/log -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/lwip -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/mbedtls -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/mdns -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/micro-ecc -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/mqtt -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/newlib -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/nghttp -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/nimble -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/nvs_flash -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/openssl -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/protobuf-c -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/protocomm -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/pthread -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/sdmmc -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/smartconfig_ack -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/soc -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/spi_flash -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/spiffs -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/tcp_transport -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/tcpip_adapter -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/ulp -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/unity -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/vfs -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/wear_levelling -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/wifi_provisioning -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/wpa_supplicant -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/xtensa-debug-module -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/esp-face -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/esp32-camera -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/esp-face -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/fb_gfx -std=gnu++11 -Os -g3 -Wpointer-arith -fexceptions -fstack-protector -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -mlongcalls -nostdlib -w -Wno-error=maybe-uninitialized -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wno-unused-parameter -Wno-unused-but-set-parameter -Wno-missing-field-initializers -Wno-sign-compare -fno-rtti -c -w -x c++ -E -CC -DF_CPU=80000000L -DARDUINO=10820 -DARDUINO_INKPLATE6PLUS -DARDUINO_ARCH_INKPLATE "-DARDUINO_BOARD=\"INKPLATE6PLUS\"" "-DARDUINO_VARIANT=\"Inkplate\"" -DESP32 -DCORE_DEBUG_LEVEL=2 -DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/cores/Inkplate -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/variants/Inkplate /var/folders/9t/_17bd0x91rb6s70jndbqdf_r0000gn/T/arduino_build_607872/sketch/sketch_mar01a.ino.cpp -o /dev/null
Generating function prototypes...
/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/tools/xtensa-esp32-elf-gcc/1.22.0-96-g2852398-5.2.0/bin/xtensa-esp32-elf-g++ -DESP_PLATFORM "-DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\"" -DHAVE_CONFIG_H -DGCC_NOT_5_2_0=0 -DWITH_POSIX -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/config -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/app_trace -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/app_update -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/asio -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/bootloader_support -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/bt -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/coap -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/console -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/driver -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/efuse -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/esp-tls -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/esp32 -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/esp_adc_cal -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/esp_event -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/esp_http_client -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/esp_http_server -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/esp_https_ota -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/esp_https_server -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/esp_ringbuf -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/esp_websocket_client -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/espcoredump -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/ethernet -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/expat -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/fatfs -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/freemodbus -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/freertos -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/heap -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/idf_test -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/jsmn -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/json -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/libsodium -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/log -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/lwip -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/mbedtls -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/mdns -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/micro-ecc -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/mqtt -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/newlib -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/nghttp -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/nimble -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/nvs_flash -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/openssl -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/protobuf-c -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/protocomm -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/pthread -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/sdmmc -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/smartconfig_ack -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/soc -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/spi_flash -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/spiffs -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/tcp_transport -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/tcpip_adapter -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/ulp -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/unity -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/vfs -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/wear_levelling -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/wifi_provisioning -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/wpa_supplicant -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/xtensa-debug-module -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/esp-face -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/esp32-camera -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/esp-face -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/fb_gfx -std=gnu++11 -Os -g3 -Wpointer-arith -fexceptions -fstack-protector -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -mlongcalls -nostdlib -w -Wno-error=maybe-uninitialized -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wno-unused-parameter -Wno-unused-but-set-parameter -Wno-missing-field-initializers -Wno-sign-compare -fno-rtti -c -w -x c++ -E -CC -DF_CPU=80000000L -DARDUINO=10820 -DARDUINO_INKPLATE6PLUS -DARDUINO_ARCH_INKPLATE "-DARDUINO_BOARD=\"INKPLATE6PLUS\"" "-DARDUINO_VARIANT=\"Inkplate\"" -DESP32 -DCORE_DEBUG_LEVEL=2 -DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/cores/Inkplate -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/variants/Inkplate /var/folders/9t/_17bd0x91rb6s70jndbqdf_r0000gn/T/arduino_build_607872/sketch/sketch_mar01a.ino.cpp -o /var/folders/9t/_17bd0x91rb6s70jndbqdf_r0000gn/T/arduino_build_607872/preproc/ctags_target_for_gcc_minus_e.cpp
/Applications/Arduino.app/Contents/Java/tools-builder/ctags/5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives /var/folders/9t/_17bd0x91rb6s70jndbqdf_r0000gn/T/arduino_build_607872/preproc/ctags_target_for_gcc_minus_e.cpp
Compiling sketch...
/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/tools/xtensa-esp32-elf-gcc/1.22.0-96-g2852398-5.2.0/bin/xtensa-esp32-elf-g++ -DESP_PLATFORM "-DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\"" -DHAVE_CONFIG_H -DGCC_NOT_5_2_0=0 -DWITH_POSIX -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/config -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/app_trace -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/app_update -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/asio -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/bootloader_support -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/bt -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/coap -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/console -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/driver -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/efuse -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/esp-tls -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/esp32 -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/esp_adc_cal -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/esp_event -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/esp_http_client -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/esp_http_server -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/esp_https_ota -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/esp_https_server -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/esp_ringbuf -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/esp_websocket_client -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/espcoredump -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/ethernet -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/expat -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/fatfs -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/freemodbus -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/freertos -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/heap -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/idf_test -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/jsmn -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/json -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/libsodium -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/log -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/lwip -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/mbedtls -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/mdns -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/micro-ecc -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/mqtt -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/newlib -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/nghttp -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/nimble -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/nvs_flash -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/openssl -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/protobuf-c -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/protocomm -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/pthread -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/sdmmc -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/smartconfig_ack -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/soc -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/spi_flash -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/spiffs -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/tcp_transport -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/tcpip_adapter -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/ulp -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/unity -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/vfs -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/wear_levelling -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/wifi_provisioning -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/wpa_supplicant -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/xtensa-debug-module -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/esp-face -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/esp32-camera -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/esp-face -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/include/fb_gfx -std=gnu++11 -Os -g3 -Wpointer-arith -fexceptions -fstack-protector -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -mlongcalls -nostdlib -Wno-error=maybe-uninitialized -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wno-unused-parameter -Wno-unused-but-set-parameter -Wno-missing-field-initializers -Wno-sign-compare -fno-rtti -MMD -c -DF_CPU=80000000L -DARDUINO=10820 -DARDUINO_INKPLATE6PLUS -DARDUINO_ARCH_INKPLATE "-DARDUINO_BOARD=\"INKPLATE6PLUS\"" "-DARDUINO_VARIANT=\"Inkplate\"" -DESP32 -DCORE_DEBUG_LEVEL=2 -DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/cores/Inkplate -I/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/variants/Inkplate /var/folders/9t/_17bd0x91rb6s70jndbqdf_r0000gn/T/arduino_build_607872/sketch/sketch_mar01a.ino.cpp -o /var/folders/9t/_17bd0x91rb6s70jndbqdf_r0000gn/T/arduino_build_607872/sketch/sketch_mar01a.ino.cpp.o
Compiling libraries...
Compiling core...
Using precompiled core: /var/folders/9t/_17bd0x91rb6s70jndbqdf_r0000gn/T/arduino_cache_422386/core/core_ef77fd83e759d60bac0d214b38d186aa.a
Linking everything together...
/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/tools/xtensa-esp32-elf-gcc/1.22.0-96-g2852398-5.2.0/bin/xtensa-esp32-elf-gcc -nostdlib -L/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/lib -L/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/sdk/ld -T esp32_out.ld -T esp32.project.ld -T esp32.rom.ld -T esp32.peripherals.ld -T esp32.rom.libgcc.ld -T esp32.rom.spiram_incompatible_fns.ld -u ld_include_panic_highint_hdl -u call_user_start_cpu0 -Wl,--gc-sections -Wl,-static -Wl,--undefined=uxTopUsedPriority -u __cxa_guard_dummy -u __cxx_fatal_exception -Wl,--start-group /var/folders/9t/_17bd0x91rb6s70jndbqdf_r0000gn/T/arduino_build_607872/sketch/sketch_mar01a.ino.cpp.o /var/folders/9t/_17bd0x91rb6s70jndbqdf_r0000gn/T/arduino_cache_422386/core/core_ef77fd83e759d60bac0d214b38d186aa.a -lgcc -lopenssl -lbtdm_app -lfatfs -lwps -lcoexist -lwear_levelling -lesp_http_client -lprotobuf-c -lhal -lnewlib -ldriver -lbootloader_support -lpp -lfreemodbus -lmesh -lsmartconfig -ljsmn -lwpa -lethernet -lphy -lapp_trace -lconsole -lulp -lwpa_supplicant -lfreertos -lbt -lmicro-ecc -lesp32-camera -lcxx -lxtensa-debug-module -ltcp_transport -lod -lmdns -ldetection -lvfs -lpe -lesp_websocket_client -lespcoredump -lesp_ringbuf -lsoc -lcore -lfb_gfx -lsdmmc -llibsodium -lcoap -ltcpip_adapter -lprotocomm -lesp_event -limage_util -lc_nano -lesp-tls -lasio -lrtc -lspi_flash -lwpa2 -lwifi_provisioning -lesp32 -lface_recognition -lapp_update -lnghttp -ldl -lspiffs -lface_detection -lefuse -lunity -lesp_https_server -lespnow -lnvs_flash -lesp_adc_cal -llog -ldetection_cat_face -lsmartconfig_ack -lexpat -lm -lfr -lmqtt -lc -lheap -lmbedtls -llwip -lnet80211 -lesp_http_server -lpthread -ljson -lesp_https_ota -lfd -lstdc++ -Wl,--end-group -Wl,-EL -o /var/folders/9t/_17bd0x91rb6s70jndbqdf_r0000gn/T/arduino_build_607872/sketch_mar01a.ino.elf
/Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/tools/esptool_py/3.0.0/esptool --chip esp32 elf2image --flash_mode dio --flash_freq 40m --flash_size 4MB -o /var/folders/9t/_17bd0x91rb6s70jndbqdf_r0000gn/T/arduino_build_607872/sketch_mar01a.ino.bin /var/folders/9t/_17bd0x91rb6s70jndbqdf_r0000gn/T/arduino_build_607872/sketch_mar01a.ino.elf
esptool.py v3.0-dev
python /Users/jamesfuthey/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1/tools/gen_esp32part.py -q /var/folders/9t/_17bd0x91rb6s70jndbqdf_r0000gn/T/arduino_build_607872/partitions.csv /var/folders/9t/_17bd0x91rb6s70jndbqdf_r0000gn/T/arduino_build_607872/sketch_mar01a.ino.partitions.bin
exec: "python": executable file not found in $PATH
Error compiling for board Inkplate 6 plus (ESP32).
claud9999 commented 2 years ago

How I solved this (found via duckduckgo):

  1. Install Python 3 (I use brew.sh, brew install python, probably needs XCode command-line tools too)
  2. Create a symbolic link: ln -s /usr/local/bin/python3 /usr/local/bin/python
  3. Start the Arduino IDE from command line: open /Applications/Arduino.app
robertoash commented 2 years ago

This solution worked for me:

sed -i -e 's/=python /=python3 /g' ~/Library/Arduino15/packages/Croduino_Boards/hardware/Inkplate/1.0.1 /platform.txt

"The command modifies all the platform.txt files under your local installation of the ESP32 tools (~/Library/Arduino15/packages/esp32/hardware/esp32) and replaces the word python by python3 wherever it finds it"

Found it here: https://forum.arduino.cc/t/exec-python-executable-file-not-found-in-path/971847/16

KarloLeksic commented 1 year ago

The issue is closed because there is no more activity