Cursor cannot detect different venvs based on directory

This worked for me and maybe it will work for you:

  1. Open Command Palette:
  • Press Ctrl+Shift+P (or Cmd+Shift+P on macOS).
  1. Select Python Interpreter:
  • Search for Python: Select Interpreter.
  • A list of Python interpreters will appear. Select the one corresponding to your venv folder