Cursor Pyright Not Working - Language Server Starts But No Response, Python Extension Still Providing Completions
Problem Description
After uninstalling the original Python installation and installing Miniconda, I’m experiencing issues with Cursor Pyright. The language server process starts (I can see `basedpyright-langserver.exe` and `node` processes running), but:
1. Cursor Pyright language server finds the executable but doesn’t initialize properly
-
Output log shows: `using pyright executable: C:\Users\asus\miniconda3\envs\math_env\basedpyright-langserver.exe`
-
But no further logs appear after this line
-
The language server seems to be stuck or not connecting properly
2. Python extension still providing autocompletions instead of Cursor Pyright
-
Even though `python.languageServer` is set to `“None”`
-
All Python extension completion features are disabled
-
Jedi is disabled (`jedi.enabled: false`, `python.jediEnabled: false`)
-
But autocompletions are still coming from Python extension (likely Jedi)
3.Cannot disable Python extension
- Cursor Pyright depends on the Python extension, so disabling it is not an option
Environment
- OS: Windows 11
- Cursor Version: Latest (as of Dec 26, 2025)
- Python: 3.10.19 (Miniconda environment `math_env`)
- Conda: 25.11.1
- Extensions:
-
Python (Anysphere) - `anysphere.cursorpyright` - Enabled
-
Python (Microsoft) - `ms-python.python` - Enabled
Current Configuration
Key settings from `.vscode/settings.json`:
```json
{
"python.defaultInterpreterPath": "C:\\\\Users\\\\asus\\\\miniconda3\\\\envs\\\\math_env\\\\python.exe",
"python.languageServer": "None",
"python.analysis.disabled": false,
"python.analysis.autoImportCompletions": false,
"python.analysis.completeFunctionParens": false,
"python.analysis.diagnosticMode": "openFilesOnly",
"python.autoComplete.enable": false,
"jedi.enabled": false,
"python.jediEnabled": false,
"cursorpyright.enabled": true,
"cursorpyright.pythonInterpreter": "C:\\\\Users\\\\asus\\\\miniconda3\\\\envs\\\\math_env\\\\python.exe",
"cursorpyright.analysis.autoImportCompletions": true,
"cursorpyright.analysis.diagnosticMode": "workspace",
"cursorpyright.analysis.typeCheckingMode": "basic",
"cursorpyright.analysis.typeCheckMode": "basic"
}
```
What I’ve Tried
1. Installed `basedpyright` and `pyright` in the conda environment
2. Copied `basedpyright-langserver.exe` to the expected location
3. Disabled all Python extension completion features
4. Disabled Jedi completely
5. Set `python.languageServer` to `“None”`
6. Verified `basedpyright-langserver.exe` exists and is accessible
7. Completely restarted Cursor multiple times
8. Waited 60+ seconds for language server initialization
Expected Behavior
- Cursor Pyright should provide all autocompletions and type hints
- Python extension should not provide any completions (only serve as a dependency)
- Output log should show initialization messages from Cursor Pyright
Actual Behavior
- Cursor Pyright language server process starts but doesn’t connect
- Python extension (likely Jedi) still provides autocompletions
- No type hints or advanced completions from Cursor Pyright
- Output log stops after showing the executable path
Additional Information
- Process list shows `_vscode_copy_basedpyright-langserver` and `node` processes running
- The executable path is correct and the file exists
- Python extension shows “Editor support inactive because language server is set to ‘None’”
- But autocompletions are still working, suggesting Jedi or another component is active
Questions
1. Is there a known issue with Cursor Pyright not initializing after finding the executable?
2. How can I ensure Cursor Pyright provides completions instead of Python extension?
3. Is there a configuration issue preventing Cursor Pyright from connecting properly?
4. Should I report this as a bug, or is there a configuration I’m missing?
Thank you for any help!
