Skip to content

could not compile "Blink" example. Broken python symbolic link #6364

Closed
@ZachreyNM

Description

@ZachreyNM

Just did a fresh install from Windows7 to Ubuntu 18.04.2 LTS
Just did fresh install of Arduino IDE from
https://www.arduino.cc/download.php?f=/arduino-1.8.9-linux64.tar.xz
using "Archive Manager"
I extracted to the default location and then ran the install.sh script
then I added the URL in the Prefs and installed ESP8266in boards manager and loaded ESP8266 Blink example and pressed compile and got :
"fork/exec xxx/.arduino15/packages/esp8266/tools/python/3.7.2-post1/python: no such file or directory
Error compiling for board NodeMCU 1.0 (ESP-12E Module)."

I noticed broken symbolic link at:
~/.arduino15/packages/esp8266/tools/python/3.7.2-post1$
"python" points to /usr/bin/python, which does not exist in Ubuntu 18.04.2 LTS

So executed the following command:
~/.arduino15/packages/esp8266/tools/python/3.7.2-post1$ ln -sfn /usr/bin/python3 python

And pressed compile and it worked! But the ASUS K52F Core i3 laptop became unresponsive to keyboard and mouse. but then came back after the process finished.

Not sure if this is the right thing to do. But maybe the install script needs to be edited??

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions