
How to Fix pyright-lsp on Claude Code for Windows (The Complete Guide)
If you've tried to enable the pyright LSP plugin in Claude Code on Windows and hit a wall, this post is for you. After several hours of debugging, I discovered three separate bugs that compound on Windows. Here's the complete, tested fix. The Problem You add this to ~/.claude/settings.json : { "enabledPlugins" : { "pyright-lsp@claude-plugins-official" : true } } Or you run: /plugin install pyright-lsp@claude-plugins-official And you get: Plugin "pyright-lsp" not found in any marketplace Or, after fixing that, you run into: ENOENT: no such file or directory, uv_spawn 'pyright-langserver' Here's exactly what's happening and how to fix all of it. Bug #1: Marketplace Not Pre-Registered on Windows On macOS the official marketplace comes pre-registered. On Windows it doesn't. Claude Code simply doesn't know where to look for the plugin. Fix: Add extraKnownMarketplaces to ~/.claude/settings.json : { "extraKnownMarketplaces" : { "claude-plugins-official" : { "source" : { "source" : "github" ,
Continue reading on Dev.to
Opens in a new tab


