Cursor fails to install extension dependencies like python and debugpy

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

I am an extension author and I have two dependent extensions, “ms-python.python”, “ms-python.debugpy”. When I attempt to install my extension on cursor I am struck in an infinite loop installing the extension. I have tried changing extensionDependencies to extensionPack for my extension and that doesn’t seem to help as well. This thread describe the same issue as mine but was closed because of no activity

but he has the same problem as me.

Any advice on how to add dependencies to the extension such that cursor can install it correctly thanks.

Steps to Reproduce

Please try to install any extension that has dependency on “ms-python.python”,
“ms-python.debugpy”

Expected Behavior

It needs to install the dependency extensions

Operating System

MacOS

Version Information

Version: 2.4.7
VSCode Version: 1.105.1
Commit: ca0f9bf806f235ea014a22712cbcbf5e88ca77e0
Date: 2026-01-20T20:52:38.077Z
Build Type: Stable
Release Track: Default
Electron: 39.2.7
Chromium: 142.0.7444.235
Node.js: 22.21.1
V8: 14.2.231.21-electron.0
OS: Darwin arm64 24.6.0

Does this stop you from using Cursor

No - Cursor works, but with this issue

1 Like

Hey, thanks for the report. This is a known issue. Cursor remaps some Microsoft extensions (ms-python.pythonanysphere.python, ms-python.vscode-pylanceanysphere.cursorpyright), and when it resolves dependencies it can hit a dependency cycle.

As a temporary workaround, try installing ms-python.python and ms-python.debugpy manually before installing your extension. If the dependencies are already installed, the install may succeed without trying to resolve them again.

Let me know if that helped.

Hmm is there a plan to add a permanant solution, currently as a workaround I am publishing two different versions of my extension on vscode and open vsx market place but would love to get a long term solution for it.

1 Like

Hey, seeing the same issue.

Cursor goes into infinite loop while trying to install extensions that have dependency on ms python. It goes like this:

  1. User clicks “Install extension” → triggers ms-python.python as a dependency
  2. ms-python.python is an extension pack that requires ms-python.vscode-pylance
  3. Cursor’s marketplace silently remaps ms-python.vscode-pylance → anysphere.cursorpyright
  4. anysphere.cursorpyright requires anysphere.python
  5. Cursor’s marketplace silently remaps anysphere.python → ms-python.python
  6. Back to step 2 → infinite loop

Can be reproduced by installing Databricks extension. But it’s inconsistent, for some people it works fine all the time.

Hey,

I’m experiencing the same issue with the Mojo extension available here: https://open-vsx.org/extension/modular-mojotools/vscode-mojo

I’m using Cursor on Windows with the WSL extension enabled.

The installation gets stuck at “Installing”, and in the DevTools Network tab I can see repeated POST requests in a loop to: https://marketplace.cursorapi.com/_apis/public/gallery/extensionquery
(all returning 200 OK).

Even after installing the Python extension (ms-python.python) separately first, attempting to install the Mojo extension still remains stuck at “Installing”.

As a temporary workaround, I built and installed a local .vsix from their repository: https://github.com/modular/vscode-mojo.git
This installs and works correctly, which suggests the issue is related to the marketplace dependency-resolution/install flow rather than the extension package itself.

It would be great if this problem could be investigated and fixed.

Best,
Thomas

1 Like