pyls-spyder
raw JSON → 0.4.0 verified Fri May 01 auth: no python maintenance
Spyder extensions for the python-lsp-server, providing enhanced features such as block comment detection and code cell folding ranges. Current version is 0.4.0, with a release cadence aligned with python-lsp-server updates. Maintenance mode.
pip install pyls-spyder Common errors
error ModuleNotFoundError: No module named 'pyls_spyder' ↓
cause pyls-spyder not installed or not in the same Python environment as pylsp
fix
Run 'pip install pyls-spyder' in the same environment where pylsp is installed.
error ImportError: cannot import name 'install' from 'pyls_spyder' ↓
cause The plugin does not require manual import; it auto-loads.
fix
Remove any import statements for pyls_spyder. Simply install the package.
Warnings
gotcha pyls-spyder is in maintenance mode. Consider using the built-in Spyder plugins for python-lsp-server. ↓
fix Migrate to python-lsp-server's built-in Spyder extensions if needed.
deprecated This package requires Python >= 3.6. Python 2 support was dropped in v0.2.1. ↓
fix Use Python 3.6+
gotcha Plugin is automatically loaded by pylsp if installed. No explicit import or configuration needed. ↓
fix Just install the package; pylsp will auto-discover it.
Imports
- install
from pyls_spyder import install
Quickstart
# No direct import needed; plugin auto-activates when python-lsp-server is configured to load pyls-spyder
# Ensure pyls-spyder is installed and pylsp is configured
import os
import subprocess
subprocess.run(['pylsp', '--help'], check=True)