I am trying to use the Python environments extension (ms-python.vscode-python-envs) with conda. The plugin tries to load the environments but does not load anything. I have tried several related workarounds without success:
- Cursor can’t detect conda env created by Miniforge (Homebrew), VSCode can
- "Discovering Python Interpreters" spins indefinitely and never resolves
I am using Cursor in Linux Mint, via an AppImage. This is my Cursor installation configuration:
Version: 3.4.20
VSCode Version: 1.105.1
Commit: 0cf8b06883f54e26bb4f0fb8647c9500ccb43310
Date: 2026-05-15T02:26:10.351Z
Layout: editor
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Linux x64 6.17.0-29-generic
From the environments log output, it seems that the environments are actually being detected:
2026-05-19 16:21:48.776 [info] Pyenv not found, turning off pyenv features.
2026-05-19 16:21:48.776 [info] [pet] Telemetry: {"event":"RefreshPerformance","data":{"refreshPerformance":{"total":89,"breakdown":{"GlobalVirtualEnvs":28,"Locators":68,"Path":88,"Workspaces":21},"locators":{"Conda":65,"Homebrew":0,"LinuxGlobal":66,"PipEnv":0,"Pixi":0,"Poetry":0,"PyEnv":0,"Venv":0,"VirtualEnv":0,"VirtualEnvWrapper":0}}}}
2026-05-19 16:21:48.802 [info] Discovered manager: (Conda) /home/user/miniconda3/bin/conda
2026-05-19 16:21:48.802 [info] Discovered env: /home/user/miniconda3/envs/FormX/bin/python
2026-05-19 16:21:48.840 [info] Discovered env: /home/user/miniconda3/bin/python
2026-05-19 16:21:48.841 [info] Discovered env: /bin/python3
2026-05-19 16:21:48.844 [info] Discovered env: /usr/bin/python3
2026-05-19 16:21:48.860 [info] [pet] Locator Conda took 63.06456ms
2026-05-19 16:21:48.860 [info] [pet] Locator Homebrew took 79.906µs
2026-05-19 16:21:48.860 [info] [pet] Locator LinuxGlobal took 66.342017ms
2026-05-19 16:21:48.860 [info] [pet] Locator PipEnv took 22.884µs
2026-05-19 16:21:48.860 [info] [pet] Locator Pixi took 18.781µs
2026-05-19 16:21:48.860 [info] [pet] Locator Poetry took 287.202µs
2026-05-19 16:21:48.861 [info] [pet] Locator PyEnv took 146.823µs
2026-05-19 16:21:48.861 [info] [pet] Locator Venv took 10.397µs
2026-05-19 16:21:48.861 [info] [pet] Locator VirtualEnv took 19.15µs
2026-05-19 16:21:48.861 [info] [pet] Locator VirtualEnvWrapper took 18.819µs
2026-05-19 16:21:48.861 [info] [pet] Locator GlobalVirtualEnvs took 22.149774ms
2026-05-19 16:21:48.861 [info] [pet] Locator Locators took 67.469394ms
2026-05-19 16:21:48.861 [info] [pet] Locator Path took 82.92166ms
2026-05-19 16:21:48.861 [info] [pet] Locator Workspaces took 8.78505ms
2026-05-19 16:21:48.861 [info] Poetry not found, turning off poetry features.
2026-05-19 16:21:48.862 [info] [resolveDefaultInterpreter] User configured defaultInterpreterPath: /home/user/miniconda3/envs/<name>/bin/python and defaultEnvManager: ms-python.python:conda
2026-05-19 16:21:48.865 [info] [pet] Telemetry: {"event":"RefreshPerformance","data":{"refreshPerformance":{"total":83,"breakdown":{"GlobalVirtualEnvs":22,"Locators":67,"Path":82,"Workspaces":8},"locators":{"Conda":63,"Homebrew":0,"LinuxGlobal":66,"PipEnv":0,"Pixi":0,"Poetry":0,"PyEnv":0,"Venv":0,"VirtualEnv":0,"VirtualEnvWrapper":0}}}}
2026-05-19 16:21:49.061 [info] Ran conda in 474: /home/user/miniconda3/condabin/conda info --envs --json
2026-05-19 16:21:49.133 [info] === Conda Shell Activation Map Generation ===
However, the Python log output says there was a problem reading the contents of the environment:
026-05-19 16:21:49.134 [error] [
'Failed to check whether to display prompt for conda inherit env setting, Class name = g, completed in 1406ms, has a falsy return value, Arg 1: <Uri:/home/user/...>, Return Value: undefined',
[TypeError: Cannot read properties of undefined (reading 'map')
at /home/user/.cursor/extensions/ms-python.vscode-python-envs-1.10.0-universal/dist/extension.js:2:536185
at Y (/home/user/.cursor/extensions/ms-python.vscode-python-envs-1.10.0-universal/dist/extension.js:2:536247)
at /home/user/.cursor/extensions/ms-python.vscode-python-envs-1.10.0-universal/dist/extension.js:2:538542
at Array.map (<anonymous>)
at t.refreshCondaEnvs (/home/user/.cursor/extensions/ms-python.vscode-python-envs-1.10.0-universal/dist/extension.js:2:538513)
at async /home/user/.cursor/extensions/ms-python.vscode-python-envs-1.10.0-universal/dist/extension.js:2:512655]
]
I would appreciate any help- Thanks!

