-
Notifications
You must be signed in to change notification settings - Fork 13.3k
could not compile "Blink" example. Broken python symbolic link #6364
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for the detailed explanation. Can't do much about the compile, that's between you and virtual memory and cores, but the summons we can see if there is a better way to go about it. On my install of 1804 I have Python 2 at /use/bin/python, and it seems most others have it, to (even though v2 is EOL next year). Might be a /usr/bin/env way of doing it, if python 3 is not going to live at the usual spot. That'd break lots of scripts in the real world, I imagine, so I'm surprised they'd drop it... |
Thank you Earl! But I think it would throw a lot of people initially when the compiler would conk out when it could not find a valid python folder. I am still learning the Linux side of things since this is my first installation on a laptop (I got it working on a couple of OrangePi SBC running off a uSD card so far). |
Hmm, looks like the Ubuntu Cloud VM image (not normally installed by an end user on bare metal) doesn't include /usr/bin/python at all. Maybe others. As Python 2 is EOL next year, we should probably move to |
Closing as we went Python3 with 3 months to spare. :) |
Thank you so much for your careful attention on this issue! May YHVH bless you and keep you!
On Tuesday, October 15, 2019, 12:25:00 AM EDT, Earle F. Philhower, III <notifications@github.com> wrote:
Closing as we went Python3 with 3 months to spare. :)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
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??
The text was updated successfully, but these errors were encountered: