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
"python.defaultInterpreterPath" ignored and overwritten by automated user setting #1796
I use Python Environments inside Cursor. In my workspace setting in .vscode/settings.json I set "python.defaultInterpreterPath": "/....pyenv/versions/3.14.2/envs/venvname/bin/python".
This however seems to be ignored by Python Environments extension with seems to automatically set a user configuration in /.../Cursor/User/settings.json that sets "python.defaultInterpreterPath": "/.../.pyenv/versions/3.14.2/envs/venvname/", which is only the path to the folder, but we need to add bin/python in the end for the executable.
This results in this error when I start a debug session: Failed to spawn launcher: [Errno 13] Permission denied: '/.../.pyenv/versions/3.14.2/envs/venvname'.
Correcting or deleting the path in /.../Cursor/User/settings.json results in it being overwritten the next time I start debugpy.
The same environment is also picked automatically.
I didn't find a solution, except for not using Python Environments any more.
Hi! We are only able to offer support for VS Code builds for this extension. If this problem occurs on VS Code please comment and I will reopen- thanks!
Activity
eleanorjboyd commentedon Sep 23, 2026
Hi! We are only able to offer support for VS Code builds for this extension. If this problem occurs on VS Code please comment and I will reopen- thanks!