You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cannot login to Codex CLI using "Sign in with ChatGPT" #2238
I can't sign in to ChatGPT via the codex CLI. When I press Enter, there's no response and the browser doesn't open the login page. My default browser is Brave.
Python 3.13.6 still not working
What is the expected behavior?
No response
What do you see instead?
No response
Additional information
No response
Reacted by Shiv Rossi, One, Appcaster, Felaray, Donghao Zhang and Jem Bishop
Run where python to identify where the python executable is installed
Then run this with elevated cmd mklink "C:\Windows\System32\python3.exe" "C:\Path\To\Your\python.exe" and it should work
Run where python to identify where the python executable is installed Then run this with elevated cmd mklink "C:\Windows\System32\python3.exe" "C:\Path\To\Your\python.exe" and it should work
Run where python to identify where the python executable is installed Then run this with elevated cmd mklink "C:\Windows\System32\python3.exe" "C:\Path\To\Your\python.exe" and it should work
It worked!
Codex CLI calls python3 when running, but on Windows, Python is installed as python by default without python3. As a result, the system can’t find the command and fails.
The solution is to create a python3 command that points to the existing python, so the CLI can run properly.
Activity
donghaozhang commentedon Aug 13, 2025
I have the same issue
DragonBaiMo commentedon Aug 13, 2025
Pay for what you use
Press Enter to continue
program not found
yanlin96 commentedon Aug 13, 2025
Same issue here
theg1239 commentedon Aug 13, 2025
Same issue on
codex loginprogram not found
theg1239 commentedon Aug 13, 2025
The issue was identified in #2000 (comment)
Run
where pythonto identify where the python executable is installedThen run this with elevated cmd
mklink "C:\Windows\System32\python3.exe" "C:\Path\To\Your\python.exe"and it should workkevin-leeeeee commentedon Aug 13, 2025
same issue
using wsl instead can work
robBinlzX commentedon Aug 14, 2025
this worked
m061i6 commentedon Aug 14, 2025
It worked!
Codex CLI calls python3 when running, but on Windows, Python is installed as python by default without python3. As a result, the system can’t find the command and fails.
The solution is to create a python3 command that points to the existing python, so the CLI can run properly.
Codex CLI 在執行時會呼叫 python3,但 Windows 安裝 Python 預設只有 python 沒有 python3,所以系統找不到這個指令而出錯。
解法是建立一個 python3 指向現有的 python,讓 CLI 能正常運作。