jupyter – Cursor can’t detect conda env created by Miniforge(installed by homebrew), but VSCode can

I installed Miniforge via Homebrew and created a conda environment named env311.

VSCode can detect and select this interpreter normallyenter image description here, but Cursor cannot see it.enter image description here

What I’ve tried:

  • Set python.condaPath to /opt/homebrew/Caskroom/miniforge/base/condabin/conda
  • Set python.defaultInterpreterPath to /opt/homebrew/Caskroom/miniforge/base/envs/env311/bin/python
  • Start Cursor from terminal (cursor .)enter image description here

In Cursor terminal:

  • conda info -e shows env311
  • type -a conda points to Miniforge

Still, Cursor doesn’t list env311 in “Select Interpreter”.

Any ideas why Cursor can’t detect the conda env, and how to fix it?

Read more here: Source link