ESP8266 Development board (shield) sketch uploading error.

see

or

pierredebuysscher:
I have te same issue, installed the ESP8266 library by adding

https://arduino.esp8266.com/stable/package_esp8266com_index.json

in the arduino preferences, afterwards added the ESP8288 board package using the board manager.

The issue is here since a couple of days on both my macs, I have no idea what might have changed.

thanks,

piet.

fork/exec /Users/marleenbruyneel/Library/Arduino15/packages/esp8266/tools/python3/3.7.2-post1/python3: no such file or directory
Fout bij het compileren voor board LOLIN(WEMOS) D1 R2 & mini

I hope someone helps us.

How can I install Python 3 and fix this issue? I have MACOS

Juraj:
see
[can't compile] > tools/python3 no such file ../ What happens? · Issue #6528 · esp8266/Arduino · GitHub
or
Windows build busted with missing \Python3\ directory · Issue #6467 · esp8266/Arduino · GitHub

FFracaproject:
How can I install Python 3 and fix this issue? I have MACOS

the esp8266 boards package installation installs python into Arduino IDE boards packages tools folder
the boards packages folder is the same folder where preferences are stored so you can open it from the IDE Preferences dialoglocate the boards packages installation folder and there should be a folder packages/esp8266/tools/python/3.7.2-post1

right, but the folder 3.7.2-post1 is there with a file python3 contained in that folder. The python3 file is 22 bytes.

/Users/marleenbruyneel/Library/Arduino15/packages/esp8266/tools/python3/3.7.2-post1/python3

Juraj:
the esp8266 boards package installation installs python into Arduino IDE boards packages tools folder
the boards packages folder is the same folder where preferences are stored so you can open it from the IDE Preferences dialoglocate the boards packages installation folder and there should be a folder packages/esp8266/tools/python/3.7.2-post1

Yes I found it! Thank you, but, now what do I have to do in this folder?
Sorry if I take your time.

pierredebuysscher:
right, but the folder 3.7.2-post1 is there with a file python3 contained in that folder. The python3 file is 22 bytes.

/Users/marleenbruyneel/Library/Arduino15/packages/esp8266/tools/python3/3.7.2-post1/python3

Same

I don't know how it should be on Mac. on Windows I have the full python installation in that folder. on Linux the folder contains a link to system python installation. your small file is maybe a link too

I do not have Python3 on my macs, neither did I have Python2 before this issue started. Do we have to take care of the python3 installation ourselves?

issue solved. Had to install Python3 manually, restart Arduino and go.

downloaded the 3.8 python from this link:

pierredebuysscher:
issue solved. Had to install Python3 manually, restart Arduino and go.

downloaded the 3.8 python from this link:

Python Release Python 3.7.5 | Python.org

So do I have to install the .PKG file and done?

yes, install the python-3.8.0-macosx10.9.pkg, restart Arduino and done. That at least worked for me.

I had the same issue and I confirm that updating pyton solves it.

This issue is because of a broken symlink. I followed the path in the error message and saw it was linking to a non-Apple install of Python that didn't exist. Simply remove the symlink and re-link to where python3 actually is and you're good to go. This is also why installing Python works--it puts it in the path the "shortcut" was expecting.

Example:

cd "/Users/mufasa/Library/Arduino15/packages/esp8266/tools/python3/3.7.2-post1"
ls -l

total 0
-rw-r--r-- 1 mufasa staff 0 Aug 3 12:41 placeholder_for_arduino
lrwxr-xr-x 1 mufasa staff 16 Dec 8 13:20 python3 -> /usr/local/bin/python3

which python3

/usr/bin/python3

rm python3

ln -s /usr/bin/pyton3 python3

ls -l

total 0
-rw-r--r-- 1 mufasa staff 0 Aug 3 12:41 placeholder_for_arduino
lrwxr-xr-x 1 mufasa staff 16 Dec 8 13:20 python3 -> /usr/bin/python3

We are unable to found the packages folder in Arduni15 in mac. I manually created and set up, even though we not yet to get the run. Still, I'm getting the same error

env: python3: No such file or directory

sathiyaraj45:
We are unable to found the packages folder in Arduni15 in mac. I manually created and set up, even though we not yet to get the run. Still, I'm getting the same error

env: python3: No such file or directory

open the IDE Preferences dialog. at the botom there is a link to preferences file in arduino15 folder

I also have the error (MacOS Mojave):

env: python3: No such file or directory
exit status 127
/Applications/Arduino.app/Contents/Java/arduino-builder returned 127
Error compiling for board Generic ESP8266 Module.

I have tried Everything in this thread, to no avail. Also tried every single suggestion in WiFi.softAP() not work when used with analogRead() · Issue #693 · esp8266/Arduino · GitHub.

Note I have also followed the instructions at Installing — ESP8266 Arduino Core 3.0.1-4-g29c63506 documentation before installing the board in Arduino IDE.

Does anyone perhaps have any suggestions how I can start again and get this right?
Many, many thanks!

in Addition to nelfor23:

ln -s /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 python3

I use macos10.14.6, Python 3.8.3, Arduino 1.8.13

ESP8266 Development board (shield) sketch uploading error.

Hi Guys

I am need of help because of the following error.

env: python3: No such file or directory
exit status 127
/Applications/Arduino.app/Contents/Java/arduino-builder returned 127
Error compiling for board Generic ESP8266 Module.

I am using ESP01-8266 with the serial USB adapter CH340g.

My computer is MaBook Air -IOS 10.13.6. and I installed Python 3.8