[Cursor v3.4.20] Python environments extension not working

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:

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!

Hey @calegria!

Thanks for the report.

Is this working in VSCode? I’m asking because the right home for this issue may be on GitHub - microsoft/vscode-python-environments: VS Code extension for Python environment and package management · GitHub

Additionally, this appears to be an older version of the extension. The latest version is v1.30.0! Could you check which version you have installed?

Hi @Colin,

First of all, thanks for the answer!

Is this working in VSCode? …

I actually have not test it on VSCode. Will try and let you know.

Additionally, this appears to be an older version of the extension. The latest version is v1.130.0 !
Could you check which version you have installed?

Good catch! I actually installed the latest version showing up in the Extensions Marketplace at Cursor, which is v1.10.0. Will try to install v1.13.0, hopefully it solves the problem.

I feel like I’m going crazy – when I checked the Cursor marketplace yesterday I’m sure I saw v1.30! But today I only see v1.10.

I gave it a try, and it looks like Cursor isn’t compatible with the latest version, and the maintainers are only interested in keeping compatibility with VSCode. :confused:

Hi again @Colin,

I can confirm that the latest Python Environments extension (v1.30.0) works correctly in VSCode (v1.120.0).

However, I cannot find a way to install a newer version of the extension on Cursor, so I cannot test if upgrading will solve the issue. Is there a way to setup another repository for extensions?

There is a weird thing happening. When the extensions is first listed on the extensions window, the version is 1.30.0:


But then, after the extension is installed, the installed version is v.10.0!!

I have tried with different versions of the extension without success. Actually, extension v1.14.0 is the only one compatible with the VSCode version in which the current Cursor version is based on.