Copyright © 2009- The Spyder Development Team.
Spyder is a Python development environment with a lot of features:
-
Editor
Multi-language editor with function/class browser, code analysis features (pyflakes and pylint are currently supported), code completion, horizontal and vertical splitting, and goto definition.
-
Interactive console
Python or IPython consoles with workspace and debugging support to instantly evaluate the code written in the Editor. It also comes with Matplotlib figures integration.
-
Documentation viewer
Show documentation for any class or function call made either in the Editor or a Console.
-
Variable explorer
Explore variables created during the execution of a file. Editing them is also possible with several GUI based editors, like a dictionary and Numpy array ones.
-
Find in files
Supporting regular expressions and mercurial repositories
-
File explorer
-
History log
Spyder may also be used as a PyQt4/PySide extension library (module
spyderlib
). For example, the Python interactive shell widget used in
Spyder may be embedded in your own PyQt4/PySide application.
You can read the Spyder documentation at:
http://pythonhosted.org/spyder/
This section explains how to install the latest stable release of
Spyder. If you prefer testing the development version, please use
the bootstrap
script (see next section).
The easiest way to install Spyder is:
- Or using one of these scientific Python distributions:
- Using one of our executable installers, which can be found here.
- Using our DMG installer, which can be found here.
- Using the Anaconda Distribution.
- Through MacPorts.
- Through your distribution package manager (i.e.
apt-get
,yum
, etc). - Using the Anaconda Distribution.
- Installing from source (see below).
You can also install Spyder with the pip
package manager, which comes by
default with most Python installations. For that you need to use the
command:
pip install spyder
To upgrade Spyder to its latest version, if it was installed before, you need to run
pip install --upgrade spyder
For more details on supported platforms, please refer to our installation instructions.
Important note: This does not install the graphical Python libraries (i.e. PyQt4, PyQt5 or PySide) that Spyder depend on. Those have to be installed separately after installing Python.
The fastest way to run Spyder is to get the source code using git, install PyQt4, PyQt5 or PySide, and run these commands:
pip install qtawesome
orconda install -c spyder-ide qtawesome
cd /your/spyder/git-clone
python bootstrap.py
You may want to do this for fixing bugs in Spyder, adding new features, learning how Spyder works or just getting a taste of it.
Important note: Most if not all the dependencies listed below come with Anaconda, WinPython and Python(x,y), so you don't need to install them separately when installing one of these Scientific Python distributions.
When installing Spyder from its source package, the only requirement is to have a Python version greater than 2.7 (Python 3.2 is not supported anymore).
- Python 2.7, 3.3, 3.4 or 3.5
- PyQt4 4.6+, PyQt5 5.2+ or PySide 1.2.0+: PyQt4 is recommended.
- IPython 3.0 or qtconsole: Enhanced Python interpreter.
- Rope and/or Jedi 0.8.1: Editor code completion, calltips and go-to-definition.
- Pyflakes: Real-time code analysis)
- Sphinx: Object Inspector's rich text mode.
- Pygments: Syntax highlighting for all file types it supports.
- Pylint: Static code analysis.
- Pep8: Style analysis.
- Psutil: CPU and memory usage on the status bar.
- Nbconvert: Manipulation of notebooks in the Editor.
Note: To get IPython in Ubuntu you need to install ipython-qtconsole
,
on Fedora ipython-gui
and on Gentoo ipython
with the qt4
USE flag.
- Matplotlib: 2D/3D plotting.
- Pandas: DataFrame and Series support.
- Numpy: N-dimensional arrays.
- SymPy: Symbolic mathematics.
-
For code development please go to:
-
For bug reports and feature requests:
-
For discussions and troubleshooting: