Table Of Contents

Previous topic

Overview

Next topic

Command line options

This Page

Installation

Spyder is quite easy to install on Windows, Linux and MacOS X. Just the read the following instructions with care.

Installing on MacOS X

The easy way

Thanks to the Spyder team and Continuum, you have two alternatives:

  1. Use the Anaconda Python distribution, which can be downloaded on this site.
  2. Use our dmg installer, which can be found here.

Note

The minimal MacOS X version to run our dmg is Lion (10.7)

The hard way

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.

Warning

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

Installing on Linux

Please refer to the Recommended modules section to see what other packages you might need.

  1. Ubuntu:

    • Using the official package manager: sudo apt-get install spyder.

      Note

      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:

      • Requirements: sudo apt-get install python-qt4 python-sphinx
      • Installing: sudo pip install spyder
      • Updating: sudo pip install -U spyder
  2. Debian Unstable:

    Using the package manager: sudo apt-get install spyder

    The Spyder’s official Debian package is available here

  3. Other Distributions

    Spyder is also available in other GNU/Linux distributions, like

    Please refer to your distribution’s documentation to learn how to install it there.


Installing on Windows XP/Vista/7/8

The easy way

Spyder is already included in these Python Scientific Distributions:

  1. Python(x,y)
  2. WinPython
  3. Anaconda

You can start using it immediately after installing one of them (you only need to install one!).

The hard way

If you want to install Spyder directly, you need to follow these steps:

  1. Install the essential requirements:

  2. Install optional modules:

    Please refer to the Recommended modules section to see what other packages you might need.

  3. Installing Spyder itself:

    You need to download and install the .exe file that corresponds to your Python version and architecture from this page.

Updating Spyder

You can update Spyder by:

  • Updating Python(x,y), WinPython or Anaconda.
  • Installing a new .exe file from the page mentioned above (this will automatically uninstall any previous version only if this version was installed with the same kind of installer - i.e. not with an .msi installer).

Installing or running directly from source

Requirements

The minimal requirements to run Spyder are

Installation procedure

  1. Download and unzip the source package (spyder-version.zip):
  2. Change your current directory to the unzipped directory
  3. Run:
    • sudo python setup.py install, on Linux or MacOS X, or
    • python setup.py install, on Windows.

Warning

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).

Run without installing

You can execute Spyder without installing it first by following these steps:

  1. Unzip the source package
  2. Change current directory to the unzipped directory
  3. Run Spyder with the command python bootstrap.py
  4. (Optional) Build the documentation with python setup.py build_doc.

This is especially useful for beta-testing, troubleshooting and development of Spyder itself.


Installing the development version

If you want to try the next Spyder version, you have to:

  1. Install Mercurial, a simple and powerful source control management tool.

  2. Clone the Spyder source code repository with the command:

    hg clone https://bitbucket.org/spyder-ide/spyderlib

  3. To keep your repository up-to-date, run

    hg pull -u

    inside the cloned directory.

  4. (Optional) If you want to read the documentation, you must build it first with the command

    python setup.py build_doc


Help and support

Spyder websites:

  • For bug reports and feature requests you can go to our website.
  • For discussions and help requests, you can suscribe to our Google Group.