Skip to content

Tries to use Python when only Python3 available #7231

@aehlke

Description

@aehlke

What version of Codex is running?

0.63.0

What subscription do you have?

Pro

Which model were you using?

gpt-5.1-codex-max high

What platform is your computer?

macOS 26.1

What issue are you seeing?

On macOS I think normally and not only in my system, I have python3 but no python.

I often get:

• Ran python - <<'PY'
  │ import re, pathlib
  │ text=pathlib.Path('Vendor/LakeOfFire/Sources/LakeOfFire/Reader/ReaderModeViewModel.swift').read_text()
  │ … +3 lines
  └ zsh:1: command not found: python

• Ran python3 - <<'PY'
[...]

Which wastes precious context

What steps can reproduce the bug?

Get it to make file edits with Python

What is the expected behavior?

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIIssues related to the Codex CLIbugSomething isn't workingtool-callsIssues related to tool calling

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions