“python“: executable file not found

春麗 S.T.E.M.
Dec 16, 2022

--

在 Arduino 編譯 ESP 32,出現 “python“: executable file not found,解決辦法如下:

在 Mac 中,從 Finder => Go => Go to Folder,去找到下面這個路徑:

/users/用戶名稱/library/arduino15/esp32/hardware/esp32/版本/platform.txt

開啟檔案後,將所有的 python 字眼,替換成 python2python3,儲存後重啟 Arduino 即可。

Reference:

--

--

春麗 S.T.E.M.
春麗 S.T.E.M.

Written by 春麗 S.T.E.M.

Do not go gentle into that good night, Old age should burn and rave at close of day; Rage, rage, against the dying of the light.

No responses yet