Skip to content

MacOS Python Path #6619

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

Closed
a7hybnj2 opened this issue Apr 24, 2022 · 1 comment
Closed

MacOS Python Path #6619

a7hybnj2 opened this issue Apr 24, 2022 · 1 comment

Comments

@a7hybnj2
Copy link

Board

ESP32 Dev Module

Device Description

I was attempting to compile for 'esp32 dev module' it was naked at the time.

Hardware Configuration

Naked

Version

v2.0.2

IDE Name

Arduino IDE

Operating System

macOS 12.3.1

Flash frequency

80

PSRAM enabled

no

Upload speed

115200

Description

On macOS there is not python and I tried setting symlinks and adding it to /etc/paths.d/ and all kinds of things to fix the "exec: "python": executable file not found in $PATH error but nothing worked. I ended up needing to edit the $HOME/Library/Arduino15/packages/esp32/hardware/esp32/2.0.2/platform.txt file and replacing python with python3 :%s/=python /=python3 /g

I am mainly putting this here in case anyone else has this issue with macOS. I found #5750 and https://docs.espressif.com/projects/arduino-esp32/en/latest/troubleshooting.html#missing-python-python-executable-file-not-found-in-path but that didn't help for macOS.

Sketch

Example Sketch

Debug Message

exec: "python": executable file not found in $PATH
Error compiling for board ESP32 Dev Module.


### Other Steps to Reproduce

_No response_

### I have checked existing issues, online documentation and the Troubleshooting Guide

- [X] I confirm I have checked existing issues, online documentation and Troubleshooting guide.
@a7hybnj2 a7hybnj2 added the Status: Awaiting triage Issue is waiting for triage label Apr 24, 2022
@me-no-dev
Copy link
Member

fixed in master. it is already present in 2.0.3-rc1 and will be part of the upcoming 2.0.3

@VojtechBartoska VojtechBartoska added Status: Solved and removed Status: Awaiting triage Issue is waiting for triage labels Apr 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants