Can't find where to change project working directory

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Can’t find where to change project working directory

Steps to Reproduce

When I try to run my project, cursor IDE can’t parse the function into the imported local package correctly. The location of the setting cannot be found now.

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

版本: 2.0.43 (Universal)
提交: 1.99.3
日期: 8e4da76ad196925accaa169efcae28c45454cce0
Electron: 2025-10-30T18:49:27.589Z
ElectronBuildId: 34.5.8
Chromium: undefined
Node.js: 132.0.6834.210
V8: 20.19.1
OS: 13.2.152.41-electron.0

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

Hey, thanks for the report. This looks like a Python interpreter or path issue. To set the correct working directory, please share:

  • Project structure: how are your local packages organized? (folder tree)
  • The exact import error: what’s the full error message when you run?
  • Python interpreter: have you selected one? Try:
  • Press Cmd+Shift+P
  • Search “Python: Select Interpreter”
  • Choose your interpreter or virtual environment

For a workspace-level setup, create or edit .vscode/settings.json in your project root:

{
  "python.autoComplete.extraPaths": ["./src", "./your_package_folder"],
  "terminal.integrated.cwd": "${workspaceFolder}"
}

Also, please share a screenshot of the terminal output when you run the project. That’ll help pinpoint the issue.

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.