Skip to content

fix: issues when the default python is not clear#96

Open
inimaz wants to merge 3 commits intomainfrom
fix/mac-python
Open

fix: issues when the default python is not clear#96
inimaz wants to merge 3 commits intomainfrom
fix/mac-python

Conversation

@inimaz
Copy link
Copy Markdown
Collaborator

@inimaz inimaz commented Apr 1, 2026

  • Added interpreter auto-discovery with precedence:

    1. Explicit codecarbon.interpreter (if set)
    2. Active interpreter from ms-python.python (when available)
    3. Command fallback (python3/python on macOS/Linux, python/py on Windows)
  • Runtime preflight now tries candidates and selects the first working interpreter.

  • Tracker startup/install/check-version now use the resolved working interpreter.

  • Added warning when explicit interpreter is broken and fallback is used.

@inimaz inimaz requested review from SaboniAmine and benoit-cty April 1, 2026 20:05
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

Successfully merging this pull request may close these issues.

1 participant