-
Notifications
You must be signed in to change notification settings - Fork 13.3k
[can't compile] > tools/python3 no such file ../ What happens? #6528
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
After updating git, you need to run tools/get.py to pull the latest tools. GIT head now required python3 to be installed (and it's part of the tools JSON) because Python2 is EOL on Jan 1 2020. |
Great, am going to have a look at that, Many thanks 😃
Le lun. 16 sept. 2019 à 19:21, Earle F. Philhower, III <
[email protected]> a écrit :
… After updating git, you need to run tools/get.py to pull the latest tools.
GIT head now required python3 to be installed (and it's part of the tools
JSON) because Python2 is EOL on Jan 1 2020.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#6528?email_source=notifications&email_token=AKOYUQBMR4MSWO5GPRXFXCTQJ66C3A5CNFSM4IXFATAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6Z4AKQ#issuecomment-531873834>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AKOYUQC4DR35GIIMNKMDCXDQJ66C3ANCNFSM4IXFATAA>
.
|
Closing. We also have Mac builds now as a part of CI, so the tools update should get you going. See https://travis-ci.org/esp8266/Arduino/jobs/584763541 |
Sorry to come again. Before to go further here is what happens. After the command I don't have that python folder installed in tools and compilation still gives it seems not easy, where the best to go now ?
|
Ah, I ran into that, too, on the CI integration. Homebrew installs python, but doesn't actually install the needed certificates into the Mac keyring or whatever. I don't understand their reasoning, but w/o it the HTTPS functionality of Python3 is broken. I followed the directions and added below, which actually installs the certs and makes things work: You'll need to do the same, possibly changing the path to the one you installed Python3 into. I don't remember if I found that out from the homebrew install logs or StackOverflow, but it was quite a puzzler for me (last Mac I used had a PowerPC chip in it!). |
Wow great ! it helps go further. Indeed there was a certificate issue. Unfortunately I get a permission denied on dist/python3-macosx-placeholder.tar.gz Here's what I get now
|
That's a FS permission issue on your computer. Not sure what Mac permissions look like, or where you've installed the git repo (could it be in a protected spot, or installed using |
Pfiouuu you saved my day. |
if @earlephilhower were to call in all the beers he's owed, he'd drown 😂 |
Leaving this here for others to find. |
Thanks so much for putting this SOLUTION HERE! The other way was just too complicated. Your solution was something I could. Just do not miss the addition step that is called out on the last screen. You MUST go to the Finder folder and run the certificate script to make everything work. Thanks again it was MAGIC !!!!!!!! |
Hello, I have a similar problem derrgis but I managed to succesfully install the certifications in the directory where python 3.8 is (I have python 3.8). I have since written in the terminal
|
The problem is that the symlink for python3 is incorrect. To correct it: $ cd /Users/[your-username]/Library/Arduino15/packages/esp8266/tools/python3/3.7.2-post1/ https://forum.arduino.cc/index.php?topic=649739.msg4401959#msg4401959 |
This is the only solution that worked for me, thanks! |
Indeed the only solution that works. |
I do not have Python 3 installed but 2. So what? Should I install Python 3 and do the steps? Thanks |
Python 2 is gone... I suggest you to install Python 3.
…On Mon, May 11, 2020, 15:44 kchrs ***@***.***> wrote:
Hello, I have a similar problem derrgis but I managed to succesfully
install the certifications in the directory where python 3.8 is (I have
python 3.8). I have since written in the terminal cd esp8266/tools and python3
get.py and gotten this to work succesfully as well. However I still get
an error message trying to compile in the Arduino IDE. I now get the error
message :
env: python3: No such file or directory exit status 127 Error compiling
for board Generic ESP8266 Module.
The problem is that the symlink for python3 is incorrect. To correct it:
$ cd
/Users/[your-username]/Library/Arduino15/packages/esp8266/tools/python3/3.7.2-post1/
$ rm python3
$ which python3
$ ln -s [path-returned-by-the-above-command] python3
https://forum.arduino.cc/index.php?topic=649739.msg4401959#msg4401959
I do not have Python 3 installed but 2. So what? Should I install Python 3
and do the steps? Thanks
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#6528 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE5JYVZWCZJZCFLGI6MP7XLRRBBRZANCNFSM4IXFATAA>
.
|
OK! Thanks! |
In a desperate way to avoid the problem mentioned in the post, i remove Python (previously installed in default route), RE installed in C:\Users{USERNAME}\Documents\Arduino\hardware\esp8266com\esp8266\tools (where repo resides) and run a GIT BASH from here, wrote "python3 get.py" and no results...deleting the number 3 DID THE JOB! Try this line "python get.py" and maybe youll get the binary tools in a lucky strike like me hehehe. Never give up guys! Regards. |
Basic Infos
Platform
Settings in IDE
Not able to compile with persistant console error after from scratch installation.
sketch from examples > Blink.ino
Debug Messages
The text was updated successfully, but these errors were encountered: