"python" command not working in integrated terminal

Describe the Bug

Every time I open a new terminal and run python command, it won’t work at all. Even though python command works fine with an external OS terminal and it also works fine in vscode as well. This error was in 0.48 too ( I started using cursor since this version). Here is my OS Version:

NAME="Ubuntu"
VERSION="20.04.6 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.6 LTS"

Steps to Reproduce

  • Create a virtualenv using uv or with python -m venv .
  • Activate the newly created environment
  • Run the python command.
    Please note I’m also using oh-my-zsh and its version is zsh 5.8 (x86_64-ubuntu-linux-gnu)
    PS: It starts working when I first exit the zsh by entering bash and then coming back to zsh (image attached).

Expected Behavior

python command should work as it’s working in VS Code and OS terminal.

Screenshots / Screen Recordings

Operating System

Linux

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.0.0
VSCode Version: 1.96.2
Commit: 53b99ce608cba35127ae3a050c1738a959750860
Date: 2025-06-04T19:26:40.367Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Linux x64 5.15.0-139-generic

Does this stop you from using Cursor

No - Cursor works, but with this issue