Skip to content

Change "python" to "python3" #6448

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

Merged
merged 1 commit into from
Mar 28, 2022
Merged

Change "python" to "python3" #6448

merged 1 commit into from
Mar 28, 2022

Conversation

tomorrow56
Copy link
Contributor

@tomorrow56 tomorrow56 commented Mar 19, 2022

First aid for ESP32 builds not passing in Arduino IDE on macOS Monterey 12.3 that obsolete "python2.7".

By completing this PR sufficiently, you help us to improve the quality of Release Notes

Checklist

  1. Please provide specific title of the PR describing the change, including the component name (eg. „Update of Documentation link on Readme.md“)
  2. Please provide related links (eg. Issue, other Project, submodule PR..)
  3. Please check Contributing guide

This entire section above can be deleted if all items are checked.


Summary

Please describe your proposed PR and what it contains.

Impact

Please describe impact of your PR and it's function.

Related links

Please provide links to related issue, PRs etc.

First aid for ESP32 builds not passing in Arduino IDE on macOS Monterey 12.3 that obsolete "python2.7".
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@Jason2866
Copy link
Collaborator

Jason2866 commented Mar 19, 2022

Since python 2.7 is totally outdated and should be used nowhere this change is not needed.
It is standard that python calls a version which is 3.x
So Apple has missed something... The change is needed there
Btw. i use Apple Monterey 12.3. too. I did the easy needed change there

@Xylopyrographer
Copy link
Contributor

@Jason2866 Hi. Just did the update to macOS 12.3 Can't link anything under Arduino IDE 1.8.19 as it now reports:
exec: "python": executable file not found in $PATH

What did you do to make this a go again?

From Terminal, running which python (and all variants like python3, etc.) returns python not found.

@Jason2866
Copy link
Collaborator

@Xylopyrographer Best way is to install via homebrew. A tutorial is here

@me-no-dev me-no-dev merged commit c25feca into espressif:master Mar 28, 2022
@rin67630
Copy link

IIMHO at least on Mojave the Arduino IDE still has flaws.

You need to add the path to Python3 manually, reboot AND you must call the Arduino IDE from the terminal open /Applications/Arduino.app to be able to compile for the ESP32...
Not very handy, I think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants