ESP8266 Development board (shield) sketch uploading error.

Hello everyone, Today I bought a new board, ESP8266 Development board, I've installed the library and all things but when I try to upload the sketch, is says:

fork/exec /Users/arduinoproject/Library/Arduino15/packages/esp8266/tools/python3/3.7.2-post1/python3: no such file or directory
Errore durante la compilazione per la scheda NodeMCU 1.0 (ESP-12E Module).

What does it mean?

what library? you installed a boards package. how? the installation is incomplete

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

Board package url: https://arduino.esp8266.com/stable/package_esp8266com_index.json

that is the one I used, added the board later on with the board manager using ESP8266 board package (typo ESP8288 :wink:

see https://github.com/esp8266/Arduino/issues/6528 or https://github.com/esp8266/Arduino/issues/6467

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 https://github.com/esp8266/Arduino/issues/6528 or https://github.com/esp8266/Arduino/issues/6467

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:

https://www.python.org/downloads/release/python-375/

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

downloaded the 3.8 python from this link:

https://www.python.org/downloads/release/python-375/

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