Describe the Bug
I encountered a problem when trying to run a Python project via the terminal. Instead of the Python binary file from the virtual environment (venv), “sys.executable” returns the path to the Cursor AppImage. Even though the commands “which python3” and “which pip3” lead to the virtual environment, when I try to run the project, an exception appears stating that the library located in the virtual environment is missing (the command “pip show ” provides information about it). In addition to the case in the video, sometimes a bug appears in the terminal where, when the virtual environment is deactivated, the commands “which python3 / pip3” still lead to it. No such problems are observed in VSCode.
Steps to Reproduce
They’re shown in the provided screen recording
Expected Behavior
I want my cursor terminal to work exactly as a VSCode one
Screenshots / Screen Recordings
Operating System
Linux
Current Cursor Version (Menu → About Cursor → Copy)
Version: 1.1.3
VSCode Version: 1.96.2
Commit: 979ba33804ac150108481c14e0b5cb970bda3260
Date: 2025-06-15T06:37:42.715Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Linux x64 6.8.0-58-generic
Additional Information
The Cursor executable file content (/usr/local/bin/cursor):
#!/bin/bash
echo “Launching Cursor…”
/home/user/tools/cursor/Cursor-0.48.7-x86_64.AppImage --no-sandbox “$@” > /dev/null 2>&1 & disown
Does this stop you from using Cursor
No - Cursor works, but with this issue