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

Created on 1 Jun 2020  路  4Comments  路  Source: esp8266/Arduino

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

All 4 comments

https://github.com/esp8266/Arduino/issues/6931

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

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

@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.

Thanks to @Tech-TX and @earlephilhower.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dariopb picture dariopb  路  3Comments

markusschweitzer picture markusschweitzer  路  3Comments

Marcelphilippeandrade picture Marcelphilippeandrade  路  3Comments

mark-hahn picture mark-hahn  路  3Comments

eliabieri picture eliabieri  路  3Comments