# Unable to find Pylance in the extension marketplace

**URL:** <https://forum.cursor.com/t/unable-to-find-pylance-in-the-extension-marketplace/105099>\
**Category:** Help\
**Created:** [June 18, 2025, 3:13am UTC](https://forum.cursor.com/t/unable-to-find-pylance-in-the-extension-marketplace/105099 "2025-06-18T03:13:56Z")\
**Posts on this page:** 10\
**Page:** 2

<div class="post-metadata">

**Author:** ![ravirahman](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/ravirahman/32/20386_2.png) [@ravirahman](https://forum.cursor.com/u/ravirahman)\
**Post date:** [June 23, 2025, 8:06pm UTC](https://forum.cursor.com/t/unable-to-find-pylance-in-the-extension-marketplace/105099/36 "2025-06-23T20:06:44Z")

</div>

@Ryan_Wong

> @ravirahman I want to say that I support Cursor, but Cursor pyright doesn’t work as well as Pylance. Those import directives are completely ineffective. When can Cursor properly address this extension issue, and at least not have so many annoying exception prompts?

Thanks for the feedback. Do the prompts keep on appearing? We added them in to help with the migration.

Regarding the import directives, do they work if you put them in a `pyproject.toml` file under the `[tool.pyright]` section, or a `pyrightconfig.json` file?

@onticdani

Could you try changing the “Type Check Mode” to “off”?

 ![image](https://us1.discourse-cdn.com/cursor1/original/3X/3/9/39467f245c82c32213b2da3a0364e4a8f6ae6eb1.png)

---

<div class="post-metadata">

**Author:** ![lukasschmit](https://avatars.discourse-cdn.com/v4/letter/l/eb8c5e/32.png) [@lukasschmit](https://forum.cursor.com/u/lukasschmit)\
**Post date:** [June 24, 2025, 2:28am UTC](https://forum.cursor.com/t/unable-to-find-pylance-in-the-extension-marketplace/105099/37 "2025-06-24T02:28:02Z")

</div>

Just wanted to come here to +1 this thread. recently updated cursor and pylance blew up and couldn’t get it back. spent a whole day on this and even reinstalled macos. Was not able to get pylance back and working. Cursor Python (based pyright fork from Anytype) was completely unusable for both work and personal python projects due to an insane quantity of false positive linter errors.

For turning `Cursorpyright > Analysis: Type Checking Mode` form basic \> off fixed things, but this was a MASSIVE headache.

You should really allow Pylance or the cursorpyright needs to mature significantly.

---

<div class="post-metadata">

**Author:** ![onticdani](https://avatars.discourse-cdn.com/v4/letter/o/7993a0/32.png) [@onticdani](https://forum.cursor.com/u/onticdani)\
**Post date:** [June 24, 2025, 11:01am UTC](https://forum.cursor.com/t/unable-to-find-pylance-in-the-extension-marketplace/105099/39 "2025-06-24T11:01:37Z")

</div>

> [@ravirahman](#):
>
> Could you try changing the “Type Check Mode” to “off”?

I had that already, but the issue is that now I don’t get any warning errors if I, for instance, didn’t import a library. I tried installing django stubs and such, both with pyright and mypy but it’s just a mess and couldn’t get them to work properly.

With pylance everything works out of the box, it can infer most django types (not all though, but at least I can have the most critical checks in place).

I guess pylance is no longer available in the Extensions marketplace since Cursor switched to the OpenVSX marketplace.

## **But there’s a workaround to use pylance in Cursor:**

There are 2 steps to this:

1. Bring back Microsoft’s extensions
2. Even with pylance installed, it won’t work due to Microsoft’s checks on the IDE you’re using inside the pylance extension. In other words, it will check if you’re using VSCode, and if not, it won’t activate the extension.

> Note that **this was a hassle to implement** and, though it works, I agree with the peeps that say we should start using `basedpyright` as it has most of `pylance` functionality, it’s open source and doesn’t collect your data.

### First, you need to bring back the VSCode marketplace

1. Go to the settings @ravirahman said: Hit `F1` → Open VSCode Settings → Features → Extensions

2. Then find `Gallery: Item Url` and `Gallery: Service Url`:

Like this:

 ![image](https://us1.discourse-cdn.com/cursor1/original/3X/b/2/b2a0f4afa04860a0557d68d40f54c89db489f897.png)

1. Then restart cursor, all the previous extensions should be now available in the marketplace.

2. Install pylance

### Now you need to dissable Microsoft’s checks (thanks to [this comment](https://github.com/VSCodium/vscodium/discussions/1641#discussioncomment-12603240) in GitHub):

1. Find your `extensions` path:

2. Find the pylance dist files (cursor installs `2024.8.1` version of pylance):  
`.../extensions/ms-python.vscode-pylance-2024.8.1/dist`

3. Make a backup copy of the `extension.bundle.js` → `extension.bundle.js.bak`

4. Open the original `extension.bundle.js` file, find and remove this string:

5. Restart Cursor and pylance should be working fine.

Again, pylance works fine with this, but I will be using `basedpyright` from now on to support the open source alternative to pylance.

---

<div class="post-metadata">

**Author:** ![onticdani](https://avatars.discourse-cdn.com/v4/letter/o/7993a0/32.png) [@onticdani](https://forum.cursor.com/u/onticdani)\
**Post date:** [June 24, 2025, 11:19am UTC](https://forum.cursor.com/t/unable-to-find-pylance-in-the-extension-marketplace/105099/41 "2025-06-24T11:19:52Z")

</div>

> [@lukasschmit](#):
>
> You should really allow Pylance

It’s not their choice, Microsoft doesn’t allow the use of pylance on any software that is not theirs. Try my workaround below or install basedpyright which is the most similar to pylance and it’s open source

---

<div class="post-metadata">

**Author:** ![Ryan\_Wong](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/ryan_wong/32/109213_2.png) [@Ryan\_Wong](https://forum.cursor.com/u/Ryan_Wong)\
**Post date:** [June 26, 2025, 2:47am UTC](https://forum.cursor.com/t/unable-to-find-pylance-in-the-extension-marketplace/105099/43 "2025-06-26T02:47:01Z")

</div>

Thanks @onticdani

I want to try your solution in my WSL environment. My Cursor version on another Mac is forever stuck at 1.0.0 hhhhh.

---

<div class="post-metadata">

**Author:** ![pcho](https://avatars.discourse-cdn.com/v4/letter/p/87869e/32.png) [@pcho](https://forum.cursor.com/u/pcho)\
**Post date:** [June 26, 2025, 2:50pm UTC](https://forum.cursor.com/t/unable-to-find-pylance-in-the-extension-marketplace/105099/45 "2025-06-26T14:50:04Z")

</div>

![Screenshot 2025-06-26 at 10.49.49 AM](https://us1.discourse-cdn.com/cursor1/original/3X/9/5/9516be502aabeb0b5cedfe4784d11a48206ecf2b.png)  
Your official docs seem to imply that Pylance _is_ supported, which is a bit misleading imo.

---

<div class="post-metadata">

**Author:** ![Ryan\_Wong](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/ryan_wong/32/109213_2.png) [@Ryan\_Wong](https://forum.cursor.com/u/Ryan_Wong)\
**Post date:** [July 2, 2025, 6:53am UTC](https://forum.cursor.com/t/unable-to-find-pylance-in-the-extension-marketplace/105099/49 "2025-07-02T06:53:56Z")

</div>

Yes, I think it should be stated in the documentation, as Pylance currently easily causes understanding issues.

@ravirahman

---

<div class="post-metadata">

**Author:** ![ravirahman](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/ravirahman/32/20386_2.png) [@ravirahman](https://forum.cursor.com/u/ravirahman)\
**Post date:** [July 3, 2025, 4:56pm UTC](https://forum.cursor.com/t/unable-to-find-pylance-in-the-extension-marketplace/105099/51 "2025-07-03T16:56:49Z")

</div>

Thanks for catching the out-of-date docs; we’re working on updating it!

---

<div class="post-metadata">

**Author:** ![mikasenghaas](https://avatars.discourse-cdn.com/v4/letter/m/ac8455/32.png) [@mikasenghaas](https://forum.cursor.com/u/mikasenghaas)\
**Post date:** [July 5, 2025, 3:50pm UTC](https://forum.cursor.com/t/unable-to-find-pylance-in-the-extension-marketplace/105099/52 "2025-07-05T15:50:59Z")

</div>

this is what seemed to work for me. my results of manual matching pylance\<\>basedpyright are these overrides

```auto
  "cursorpyright.analysis.typeCheckingMode": "off",
  "cursorpyright.analysis.diagnosticSeverityOverrides": {
    "strictParameterNoneValue": true,
    "reportMissingModuleSource": "warning",
    "reportInvalidTypeForm": "warning",
    "reportMissingImports": "warning",
    "reportUndefinedVariable": "warning",
  }

```

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [August 4, 2025, 3:51pm UTC](https://forum.cursor.com/t/unable-to-find-pylance-in-the-extension-marketplace/105099/54 "2025-08-04T15:51:22Z")

</div>

Closed on August 4, 2025, 3:51pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

[Previous page](https://forum.cursor.com/t/unable-to-find-pylance-in-the-extension-marketplace/105099.md?page=1)
