Bug Description:
Cursor forces Python 3.13 in terminal prompts and ignores all levels of configuration that specify Python 3.11. This affects project development as our application requires Python 3.11.
Steps to Reproduce:
-
Create a project with Python 3.11 requirements:
-
Set .python-version to 3.11.11
-
Set pyproject.toml to python = “>=3.11,<3.12”
-
Configure Poetry to use Python 3.11
-
Configure Cursor to use Python 3.11:
-
Create .cursor file with:
{
“python.createEnvironment.trigger”: “off”,
“python.defaultInterpreterPath”: “/opt/homebrew/opt/[email protected]/bin/python3.11”,
“python.terminal.activateEnvironment”: false,
“python.pythonPath”: “/opt/homebrew/opt/[email protected]/bin/python3.11”
}
-
Create identical .cursorrc in home directory
-
Add to .zshrc:
export PATH=“/opt/homebrew/opt/[email protected]/bin:$PATH”
export POETRY_PYTHON=“/opt/homebrew/opt/[email protected]/bin/python3.11”
export CURSOR_DISABLE_PYTHON_MANAGEMENT=1
- Restart Cursor completely
Expected behavior:
-
Cursor should respect Python 3.11 configuration
-
Terminal prompt should show py3.11
-
Poetry should use Python 3.11
Actual behavior:
-
Cursor forces Python 3.13
-
Terminal prompt shows fric-py3.13
-
This persists after complete restart
System Information:
-
OS: macOS 24.3.0 (darwin)
-
Cursor Version: 0.45.11
-
VSCode Version: 1.96.2
-
Electron: 32.2.6
-
Node.js: 20.18.1
-
Commit: f5f18731406b73244e0558ee7716d77c8096d150
Impact:
This issue partially blocks development as our project requires Python 3.11, forcing us to use external terminals or other IDEs for Python-related tasks.
Additional Configuration Files:
.cursor:
{
“python.createEnvironment.trigger”: “off”,
“python.defaultInterpreterPath”: “/opt/homebrew/opt/[email protected]/bin/python3.11”,
“python.terminal.activateEnvironment”: false,
“python.pythonPath”: “/opt/homebrew/opt/[email protected]/bin/python3.11”,
“python.venvPath”: “/Users/kermit/Code/fric/backend/.venv”,
“python.disableInstallationCheck”: true,
“python.analysis.autoImportCompletions”: false
}
.python-version:
3.11.11
pyproject.toml excerpt:
[tool.poetry.dependencies]
python = “>=3.11,<3.12”