snap/arduino/14/.arduino15/packages/esp8266/tools/python/3.7.2-post1/python: no

Hi,
I just installed with a snap (Ubuntu 19.10) the Arduino IDE 1.8.12
when I try to compile a file exit this error and i'm not able to solve

fork/exec /home/marco/snap/arduino/14/.arduino15/packages/esp8266/tools/python/3.7.2-post1/python: no such file or directory

I verified that python is installed and is on the required folder

How can I solve it?

Thanks

with the version 1.8.9 (no snap) everything ok

This was an issue in the Arduino snap which is fixed now.

The snap runs in a sandbox for security and stability reasons, so it does not have access to the host system. I fixed it by including Python inside of the snap. I also included the serial library, which is used by the esp tools.

If you need any additional Python libraries, you can install them using the command arduino.pip install <module-name>.

If you have any other issues with the snap, please let me know or create an issue here: https://github.com/snapcrafters/arduino/issues