Registry / data / spyder

spyder

JSON →
library6.1.4pypypi✓ verified 85d ago

Spyder is the Scientific Python Development Environment, a powerful open-source Integrated Development Environment (IDE) written in Python, for Python. It is designed for scientists, engineers, and data analysts, offering a unique blend of advanced editing, analysis, debugging, and profiling functionalities with capabilities for data exploration, interactive execution, deep inspection, and visualization. Spyder is actively developed with continuous releases, with the current version being 6.1.4. [3, 15, 16, 23]

pip install spyder
INSTALL
IMPORT
SIG · SPYDER
S
spyder
datapythonv6.1.4
Install
30.8s avg
Import
Disk
759MB
Pass rate
5/ 10
Env Coverage5 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v6.1.4 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.910 runs
build_error
glibc
py 3.103.910 runs
installs and imports cleanly · install 30.8s · import 0.000s · 749MB
759MB installed
● package 759MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SpyderPluginV2
from spyder.api.plugins import SpyderPluginV2
Used for developing Spyder plugins.
EditorExtension
from spyder.plugins.editor.api import EditorExtension
from spyder.api.editor import EditorExtension
The `spyder.api.editor` module is pending deprecation and will be removed in Spyder 7.0. Use `spyder.plugins.editor.api` instead. [12]
ClassName
import spyder
General users typically interact with Spyder as an application, not by importing its core components directly into arbitrary Python scripts. Programmatic imports are primarily for plugin development or extending the IDE. [1, 7]

This quickstart demonstrates a typical workflow within the Spyder IDE. Users write Python code in the Editor pane, which can then be executed. The output (e.g., print statements) appears in the IPython Console, and variables (like `x` and `y`) can be interactively inspected and modified in the Variable Explorer. Plots generated (e.g., with Matplotlib) will appear in the Plots pane. To run this, simply save it as a .py file in Spyder's editor and press F5. [5, 9, 10, 15]

# Save this file as 'hello_spyder.py' and run it in the Spyder IDE import numpy as np import matplotlib.pyplot as plt def generate_and_plot_data(): """Generates some sample data and plots it.""" x = np.linspace(0, 10, 100) y = np.sin(x) + np.random.normal(0, 0.1, 100) print(f"Generated {len(x)} data points.") print(f"Mean of y: {np.mean(y):.2f}") plt.figure() plt.plot(x, y, label='Sine wave with noise') plt.xlabel('X-axis') plt.ylabel('Y-axis') plt.title('Sample Data Plot') plt.legend() plt.grid(True) plt.show() if __name__ == '__main__': generate_and_plot_data() # You can inspect 'x' and 'y' in Spyder's Variable Explorer after running this.
spyder --version
Debug
Known issues
deprecatedThe `spyder.api.editor` module, containing legacy aliases for `EditorExtension` and `Panel`, is pending deprecation and will be removed in Spyder 7.0. [12]
fix
Import `EditorExtension` and `Panel` from `spyder.plugins.editor.api` instead. [12]
affects: >=6.1.0
breaking`SpyderPluginV2`'s `register()` and `unregister()` methods are no longer supported. [12]
fix
Use the `on_initialize()` and `on_close()` methods for plugin initialization and cleanup respectively. [12]
affects: >=5.1
gotchaWhen developing local modules, if Spyder's working directory is not correctly set or updated, you might encounter `ModuleNotFoundError` when trying to import them, even if they are in the same directory as the script being executed. [6, 13, 16]
fix
Ensure Spyder's working directory is set to the project directory (Tools > Preferences > Run > Working Directory settings). If new modules are added during a session, sometimes restarting Spyder or the IPython kernel is necessary for them to be recognized. [6, 13, 18]
affects: All versions
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'my_module'
Python cannot find the module because its directory is not in `sys.path` or Spyder's working directory is incorrectly configured. This often happens with locally created modules. [16, 25]
fix
Go to 'Tools' -> 'PYTHONPATH manager' in Spyder and add the directory containing 'my_module.py'. Alternatively, ensure 'Preferences' -> 'Run' -> 'Working Directory settings' is set to 'The directory of the file being executed' or 'The current working directory' and you are in the correct directory. Restarting the IPython console may also resolve the issue. [6, 13]
NameError: name 'Car' is not defined
This error can occur if you're trying to use a class or function from a module that wasn't correctly imported, or if there's a case sensitivity mismatch. Python is case-sensitive. [16]
fix
Verify the exact casing of the class/function name in your `import` statement and when you call it. For example, if the class is `Car` in `car.py`, you should use `from car import Car` or `import car; my_car_instance = car.Car()`. [16]
Spyder fails to start or crashes on launch
This can be due to corrupted configuration files, incompatible dependencies, or issues with the underlying Qt/GUI framework. [12]
fix
Try resetting Spyder's configuration by running `spyder --reset` in your terminal. If using Anaconda, ensure your `conda` environment is up to date with `conda update --all`. Consider creating a new `conda` environment and reinstalling Spyder. [3]
Upgrade
Version history
6.1.4latest on PyPI · released Apr 7, 2026
Audit
Dependencies
pythonrequiredCore language requirement.
pyqt5requiredPython bindings for Qt, used for Spyder's GUI.
spyder-kernelsrequiredJupyter kernels for the Spyder console.
ipythonrequiredInteractive Python shell integration.
jedirequiredFast autocompletion/static analysis for Python.
numpyoptionalNumerical computing (built-in integration).
scipyoptionalScientific computing (built-in integration).
pandasoptionalData manipulation and analysis (built-in integration).
matplotliboptionalPlotting library (built-in integration).
Agent activity
10 hits · last 30 days
node
8
OpenAI (training)
1
Resources
spyder — pip install spyder · libregistry