Skip to content

[Bug Report] EIM GUI on macOS ignores python3 from PATH entirely (EIM-1017) #1095

Description

@hwqchi

System Information

  • OS info: OS: Darwin 27.0 | Architecture: arm64 | Kernel: 27.0.0
  • App Version: 0.19.0

Description

EIM GUI 0.19.0 on macOS cannot start any ESP-IDF installation, the Python check always fails with:

Python Not Configured
Python >= 3.10 < 3.14 with pip, virtualenv, and SSL support is required.
Install a supported Python version (3.10 to 3.13) from https://www.python.org/downloads/

even though a fully compatible Python 3.13.12 is installed and reachable on PATH.

This is a continuation of #969 (which was closed as not planned with the guidance added in PR #970). I tested the PR #970 workaround ("launch the GUI from your terminal so it inherits your shell PATH") and it does not work on 0.19.0.

Steps to reproduce

  1. Activate shell where which python3 → /Users/<user>/miniconda3/bin/python3 (Python 3.13.12).
  2. Launch the GUI from the same terminal so it inherits the shell PATH:
    /Applications/eim.app/Contents/MacOS/eim gui --idf-features ide
  3. Watch ~/Library/Application Support/eim/logs/eim_gui.log:
INFO  - GUI logging initialized ...
INFO  - Found python3
WARN  - [FAIL] Python Version: Python 3.9.6 is not supported (required: >=3.10.0, <3.15.0)

Actual Behavior

Image

Logs

2026-09-25 11:48:07 - 11 - 09 - INFO - GUI logging initialized. File: "/Users/<user>/Library/Application Support/eim/logs/eim_gui.log", Console: Info
2026-09-25 11:48:07 - 11 - 09 - TRACE - Triggered `applicationSupportsSecureRestorableState`
2026-09-25 11:48:07 - 11 - 09 - TRACE - Completed `applicationSupportsSecureRestorableState`
2026-09-25 11:48:07 - 11 - 09 - TRACE - Triggered `applicationDidFinishLaunching`
2026-09-25 11:48:07 - 11 - 09 - TRACE - Creating new window
2026-09-25 11:48:07 - 11 - 09 - TRACE - Triggered `viewDidMoveToWindow`
2026-09-25 11:48:07 - 11 - 09 - TRACE - Completed `viewDidMoveToWindow`
2026-09-25 11:48:07 - 11 - 09 - TRACE - Triggered `validAttributesForMarkedText`
2026-09-25 11:48:07 - 11 - 09 - TRACE - Completed `validAttributesForMarkedText`
2026-09-25 11:48:07 - 11 - 09 - TRACE - Triggered `validAttributesForMarkedText`
2026-09-25 11:48:07 - 11 - 09 - TRACE - Completed `validAttributesForMarkedText`
2026-09-25 11:48:07 - 11 - 09 - TRACE - Triggered `validAttributesForMarkedText`
2026-09-25 11:48:07 - 11 - 09 - TRACE - Completed `validAttributesForMarkedText`
2026-09-25 11:48:07 - 11 - 09 - TRACE - Triggered `validAttributesForMarkedText`
2026-09-25 11:48:07 - 11 - 09 - TRACE - Completed `validAttributesForMarkedText`
2026-09-25 11:48:07 - 11 - 09 - TRACE - Triggered `validAttributesForMarkedText`
2026-09-25 11:48:07 - 11 - 09 - TRACE - Completed `validAttributesForMarkedText`
2026-09-25 11:48:07 - 11 - 09 - TRACE - Locked shared state in `set_fullscreen`
2026-09-25 11:48:07 - 11 - 09 - TRACE - Unlocked shared state in `set_fullscreen`
2026-09-25 11:48:07 - 11 - 09 - TRACE - Triggered `windowDidBecomeKey:`
2026-09-25 11:48:07 - 11 - 09 - TRACE - Completed `windowDidBecomeKey:`
2026-09-25 11:48:07 - 11 - 09 - TRACE - Triggered `windowDidResize:`
2026-09-25 11:48:07 - 11 - 09 - TRACE - Completed `windowDidResize:`
2026-09-25 11:48:07 - 11 - 09 - TRACE - Triggered `validAttributesForMarkedText`
2026-09-25 11:48:07 - 11 - 09 - TRACE - Completed `validAttributesForMarkedText`
2026-09-25 11:48:07 - 11 - 09 - TRACE - Triggered `validAttributesForMarkedText`
2026-09-25 11:48:07 - 11 - 09 - TRACE - Completed `validAttributesForMarkedText`
2026-09-25 11:48:07 - 11 - 09 - TRACE - Triggered `validAttributesForMarkedText`
2026-09-25 11:48:07 - 11 - 09 - TRACE - Completed `validAttributesForMarkedText`
2026-09-25 11:48:07 - 11 - 09 - TRACE - Triggered `validAttributesForMarkedText`
2026-09-25 11:48:07 - 11 - 09 - TRACE - Completed `validAttributesForMarkedText`
2026-09-25 11:48:07 - 11 - 09 - TRACE - Triggered `validAttributesForMarkedText`
2026-09-25 11:48:07 - 11 - 09 - TRACE - Completed `validAttributesForMarkedText`
2026-09-25 11:48:07 - 11 - 09 - TRACE - Triggered `viewDidMoveToWindow`
2026-09-25 11:48:07 - 11 - 09 - TRACE - Completed `viewDidMoveToWindow`
2026-09-25 11:48:07 - 11 - 09 - DEBUG - ESP-IDF JSON initialized at configured path.
2026-09-25 11:48:07 - 11 - 09 - TRACE - Completed `applicationDidFinishLaunching`
2026-09-25 11:48:07 - 11 - 09 - TRACE - Triggered `applicationShouldHandleReopen`
2026-09-25 11:48:07 - 11 - 09 - TRACE - Completed `applicationShouldHandleReopen`
2026-09-25 11:48:07 - 11 - 09 - DEBUG - No versions found. Use eim install to install a new ESP-IDF version.
2026-09-25 11:48:07 - 11 - 09 - DEBUG - Error: No such file or directory (os error 2)
2026-09-25 11:48:07 - 11 - 09 - DEBUG - Checking for prerequisites with detailed result...
2026-09-25 11:48:07 - 11 - 09 - DEBUG - will be checking for : ["dfu-util", "cmake"]
2026-09-25 11:48:07 - 11 - 09 - DEBUG - dfu-util is already installed: Output { status: ExitStatus(unix_wait_status(0)), stdout: "/opt/homebrew/bin/dfu-util\n", stderr: "" }
2026-09-25 11:48:07 - 11 - 09 - DEBUG - cmake is already installed: Output { status: ExitStatus(unix_wait_status(0)), stdout: "/opt/homebrew/bin/cmake\n", stderr: "" }
2026-09-25 11:48:08 - 11 - 09 - TRACE - shouldn't retry!
2026-09-25 11:48:09 - 11 - 09 - INFO - Set locale to: en
2026-09-25 11:48:09 - 11 - 09 - DEBUG - starting new connection: https://dl.espressif.com/
2026-09-25 11:48:09 - 11 - 09 - TRACE - shouldn't retry!
2026-09-25 11:48:11 - 11 - 09 - INFO - Found python3
2026-09-25 11:48:11 - 11 - 09 - WARN - [FAIL] Python Version: Python 3.9.6 is not supported (required: >=3.10.0, <3.15.0)

Expected behavior

  • python3 on the effective GUI PATH should be used for detection, so launching the GUI from a terminal with a compatible python3 (conda/pyenv/MacPorts) passes the check — as the FAQ in EIM-925: in FAQ we now explain difference between PATH handling in CLI AND GUI #970 states;
  • launchctl setenv PATH should be honored;
  • on macOS, explicitly probe common locations: /usr/local/bin/python3, /opt/homebrew/bin/python3, /opt/local/bin/python3, /Library/Frameworks/Python.framework/Versions/*/bin/python3, ~/.pyenv/shims, conda envs.

Activity

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

    EIM-1095Athena ticket reference

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions