# Pylance installed in WSL but provides no language features

**URL:** <https://forum.cursor.com/t/pylance-installed-in-wsl-but-provides-no-language-features/156428>\
**Category:** Bug Reports\
**Tags:** language-servers, python, extensions, wsl\
**Created:** [April 1, 2026, 3:16pm UTC](https://forum.cursor.com/t/pylance-installed-in-wsl-but-provides-no-language-features/156428 "2026-04-01T15:16:28Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![stguseinov](https://avatars.discourse-cdn.com/v4/letter/s/7ab992/32.png) [@stguseinov](https://forum.cursor.com/u/stguseinov)\
**Post date:** [April 1, 2026, 3:16pm UTC](https://forum.cursor.com/t/pylance-installed-in-wsl-but-provides-no-language-features/156428/1 "2026-04-01T15:16:28Z")

</div>

### Where does the bug appear (feature/product)?

Cursor IDE

### Describe the Bug

Pylance is installed and shown as enabled in WSL, but it does not provide hover, autocomplete, or go-to-definition in Python files.

Current installed extensions in WSL:

- ms-python.python 2025.6.1
- ms-python.debugpy 2025.18.0
- ms-python.vscode-pylance 2025.6.1

Notes:

- Before reinstalling Windows, the same overall setup worked (a week ago)
- After reinstalling Windows, Pylance no longer works in Cursor over WSL
- Cursor logs show Pylance activates and the language server starts, but language features still do not work

### Steps to Reproduce

1. Reinstalled Cursor
2. Removed ~/.cursor-server completely
3. Installed ms-python.python
4. Uninstalled anysphere.cursorpyright
5. Installed ms-python.vscode-pylance 2025.6.1 manually from VSIX
6. Reloaded window, restarted language server, cleared Python cache/interpreter state

### Expected Behavior

Pylance should provide Python language features.

### Screenshots / Screen Recordings

 ![Untitled.png](https://us1.discourse-cdn.com/cursor1/original/3X/6/3/632e55458c16e31ea99e0b9de58954413771838c.png)

### Operating System

Windows 10/11

### Version Information

Version: 2.6.22 (user setup)  
VSCode Version: 1.105.1  
Commit: c6285feaba0ad62603f7c22e72f0a170dc8415a0  
Date: 2026-03-27T15:59:31.561Z  
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: Windows\_NT x64 10.0.19045

### Does this stop you from using Cursor

Yes - Cursor is unusable

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [April 1, 2026, 3:59pm UTC](https://forum.cursor.com/t/pylance-installed-in-wsl-but-provides-no-language-features/156428/5 "2026-04-01T15:59:32Z")

</div>

Hey, I see what’s going on. Pylance `ms-python.vscode-pylance` isn’t supported in Cursor due to Microsoft licensing restrictions. Instead, Cursor uses its own extension `anysphere.cursorpyright`, based on basedpyright [GitHub - DetachHead/basedpyright: pyright fork with various type checking improvements, improved vscode support and pylance features built into the language server · GitHub](https://github.com/DetachHead/basedpyright). It provides similar features like hover, autocomplete, go-to-definition, and so on.

Most likely, before you reinstalled Windows you were using cursorpyright, not Pylance.

What to do:

- Manually remove Pylance `ms-python.vscode-pylance`
- Install `anysphere.cursorpyright` from the Cursor marketplace, search for Python and look for publisher Anysphere
- Reload the window

More details are in the official announcement about in-house extensions [New In-house Extensions (C++, C#, SSH, DevContainers, WSL, Python)](https://forum.cursor.com/t/new-in-house-extensions-c-c-ssh-devcontainers-wsl-python/94531).

Let me know if something still isn’t working in WSL after that.

---

<div class="post-metadata">

**Author:** ![stguseinov](https://avatars.discourse-cdn.com/v4/letter/s/7ab992/32.png) [@stguseinov](https://forum.cursor.com/u/stguseinov)\
**Post date:** [April 1, 2026, 4:52pm UTC](https://forum.cursor.com/t/pylance-installed-in-wsl-but-provides-no-language-features/156428/6 "2026-04-01T16:52:17Z")

</div>

Hi! Thanks for the quick reply!

As for Pylance in Cursor. No, I’m 100% sure I’ve been using Pylance all this time, even with the latest versions of Cursor, until I reinstalled Windows yesterday.

I’m absolutely certain of this because my colleague has been complaining for several months that Pylance isn’t working in his Cursor on macOS, and I know what it looks like.

I’m so sure because there were no warnings on my machine, as shown in the screenshot below. My colleague was the one who saw this warning, but now I’m seeing it too. And I definitely didn’t have it before I reinstalled Windows.

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

And I’m sure I didn’t use Cursor Pyright, because after installing it, the value of the `python.languageServer` setting automatically changes to `None` (see the screenshot below). But in my case, before I reinstalled Windows, the `python.languageServer` value remained “Pylance” and worked without any issues.

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

And I’m familiar with the Basedpyright project. Around this summer, I compared it to Pylance. They had good marketing, but it seems the project had—and perhaps still has—a lot of issues (on GitHub), so I decided to stick with Pylance until astral-sh/ty becomes stable.

In short: I don’t know what to do next. I see three less-than-ideal options:

1. Try to get Pylance to work. But I might not be able to do it. I’ve already spent several hours on it.
2. Switch to Basedpyright (Cursor Pyright). But it’s not a 100% replacement. It has different settings. It will take time to learn and configure. But that’s almost pointless, because we’ll most likely switch to astral-sh/ty later.
3. Switch to astral-sh/ty right now. That’s not a great option either, because it’s not stable at the moment.

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [April 1, 2026, 5:28pm UTC](https://forum.cursor.com/t/pylance-installed-in-wsl-but-provides-no-language-features/156428/7 "2026-04-01T17:28:12Z")

</div>

From the screenshots, this looks like standard cursorpyright behavior. During install it sets `python.languageServer` to `None`.

You might have had an older Cursor setup before, where Pylance wasn’t blocked yet, or it somehow carried over between updates. On a clean Cursor install now, Pylance is blocked at the extension gallery level due to Microsoft licensing limits, so even a manual VSIX install won’t work properly.

I get that this is awkward, especially if cursorpyright isn’t as good as Pylance for you. Here are a couple things you can try:

1. Configure cursorpyright. It has equivalents for most Pylance settings. The main config differences are covered in the basedpyright docs: [https://docs.basedpyright.com](https://docs.basedpyright.com)

2. Try Astral’s ty. They already have a VS Code extension you can test, but yeah, it’s not fully stable yet.

If you hit a specific cursorpyright issue like a missing feature or wrong behavior, tell me what you’re seeing and we can dig into it.

---

<div class="post-metadata">

**Author:** ![stguseinov](https://avatars.discourse-cdn.com/v4/letter/s/7ab992/32.png) [@stguseinov](https://forum.cursor.com/u/stguseinov)\
**Post date:** [April 2, 2026, 9:22am UTC](https://forum.cursor.com/t/pylance-installed-in-wsl-but-provides-no-language-features/156428/8 "2026-04-02T09:22:50Z")

</div>

Thank you for your support!

---

<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:** [April 24, 2026, 9:23am UTC](https://forum.cursor.com/t/pylance-installed-in-wsl-but-provides-no-language-features/156428/9 "2026-04-24T09:23:03Z")

</div>

Closed on April 24, 2026, 9:23am UTC

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