Skip to content

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

Closed
@sathiyaraj45

Description

@sathiyaraj45

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

Activity

Tech-TX

Tech-TX commented on Jun 1, 2020

@Tech-TX
Contributor

#6931

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

earlephilhower

earlephilhower commented on Jun 1, 2020

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

earlephilhower commented on Jun 2, 2020

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

sathiyaraj45 commented on Jun 2, 2020

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @earlephilhower@sathiyaraj45@Tech-TX

        Issue actions

          python3: error: unable to find utility "python3", not a developer tool or in PATH · Issue #7347 · esp8266/Arduino