Skip to content
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

python3: error: unable to find utility "python3", not a developer tool or in PATH #7347

Closed
sathiyaraj45 opened this issue Jun 1, 2020 · 4 comments

Comments

@sathiyaraj45
Copy link

sathiyaraj45 commented Jun 1, 2020

We installed python3 in my new mac environment but we unable to compile in Arduino IDE for NodeMCU.

We updated the python env path in ~/.bash_profile
#Python env path
export PATH=/usr/local/bin:$PATH

@Tech-TX
Copy link
Contributor

Tech-TX commented Jun 1, 2020

#6931

I see Mac users don't understand the basics of SEARCH.

@earlephilhower
Copy link
Collaborator

That's a MacOS + Brew issue, but easily fixed w/o hacks using the Apple-supported python3 toolset...

I just installed and ran the Arduino IDE on a fresh Catalina install and I get the helpful error:
image

I also get a nice dialog from Apple letting me click one button to install Python:
image

Clicking thru the license/etc. and waiting a few mins to install, when I rerun the build it works fine (don't need to restart Arduino):
image

@earlephilhower
Copy link
Collaborator

@sathiyaraj45 Can you remove that .bashrc change and take a look at #7348? You'll need to re-run the get.py to download a new OSX bundle with a portable python3 interpreter included (so not path changes, no need to use brew or install Xcode.

@sathiyaraj45
Copy link
Author

Thanks to @Tech-TX and @earlephilhower.

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

No branches or pull requests

3 participants