Spyder is quite easy to install on Windows, Linux and MacOS X. Just the read the following instructions with care.
Thanks to the Spyder team and Continuum, you have two alternatives:
Thanks to the MacPorts project, Spyder can be installed using its port package manager. There are several versions available from which you can choose from.
It is known that the MacPorts version of Spyder is raising this error: ValueError: unknown locale: UTF-8, which doesn’t let it start correctly.
To fix it you will have to set these environment variables in your ~/.profile (or ~/.bashrc) manually:export LANG=en_US.UTF-8 export LC_ALL=en_US.UTF-8
Please refer to the Recommended modules section to see what other packages you might need.
Using the official package manager: sudo apt-get install spyder.
This package could be slightly outdated. If you find that is the case, please use the Debian package mentioned below.
Using the pip package manager:
Using the package manager: sudo apt-get install spyder
The Spyder’s official Debian package is available here
Spyder is also available in other GNU/Linux distributions, like
Please refer to your distribution’s documentation to learn how to install it there.
Spyder is already included in these Python Scientific Distributions:
You can start using it immediately after installing one of them (you only need to install one!).
If you want to install Spyder directly, you need to follow these steps:
Install the essential requirements:
Install some recommended modules:
Important functionality will be missed if these modules are not installed
Install optional modules:
These are the most important modules to do scientific programming with Python
Installing Spyder itself:
You need to download and install the .exe file that corresponds to your Python version and architecture from this page.
You can update Spyder by:
The minimal requirements to run Spyder are
We recommend you to install these modules to get the most out of Spyder:
- On Ubuntu you need to install ipython-qtconsole.
- On Fedora, ipython-gui
- And on Gentoo ipython with the qt4 USE flag
This procedure does not uninstall previous versions of Spyder, it simply copies files on top of an existing installation. When using this command, it is thus highly recommended to uninstall manually any previous version of Spyder by removing the associated directories (spyderlib and spyderplugins in your site-packages directory).
You can execute Spyder without installing it first by following these steps:
This is especially useful for beta-testing, troubleshooting and development of Spyder itself.
If you want to try the next Spyder version, you have to:
Install Mercurial, a simple and powerful source control management tool.
Clone the Spyder source code repository with the command:
hg clone https://spyderlib.googlecode.com/hg/ spyder
To keep your repository up-to-date, run
hg pull -u
inside the cloned directory.
(Optional) If you want to read the documentation, you must build it first with the command
python setup.py build_doc