Skip to content

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

Merged
inimaz merged 4 commits into
mainfrom
fix/mac-python
Apr 26, 2026
Merged

fix: issues when the default python is not clear#96
inimaz merged 4 commits into
mainfrom
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
@inimaz inimaz merged commit bd86757 into main Apr 26, 2026
3 checks passed
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