Guía de instalación#

Spyder is relatively easy to install on any Windows, Linux or macOS system meeting our basic system requirements. Just make sure to read and follow these instructions with care.

If you have questions or run into problems, please check our FAQ, consult our troubleshooting guide and search the issue tracker for your error message and problem description. These methods generally fix or isolate the great majority of install-related difficulties. Thanks!

Importante

For most users, our Instaladores independientes are the most straightforward and robust option to obtain Spyder, and support extended functionality over other installation methods. Easy installation of third-party Spyder plugins and full Variable Explorer support for custom-installed packages are both currently under active development; if you require these capabilities now, using a Conda-based distribution is the currently recommended alternative.

Probar Spyder en línea#

Want to try out Spyder before installing it? With Binder, you can open a functional copy of Spyder online that runs right in your web browser, with no installation needed. Visit the Spyder Binder page to get started using Spyder.

Spyder corriendo en Binder

Instaladores independientes#

The standalone installers are recommended for most users on Windows, macOS and Linux. They work like any other IDE, where Spyder can be installed and updated independently of the Python environments you use to run your code. This avoids the problems with incompatible packages and broken installations users can face when managing Spyder’s installation themselves, mixed with their own working environments.

The installers include a built-in Python environment with the most common scientific libraries (e.g. NumPy, SciPy, Pandas, Matpotlib, etc), which can be used out of the box for basic data analysis tasks. To use additional packages, we currently recommend connecting an external Python distribution (such as Miniforge (recommended), Anaconda, Miniconda, or Python.org) to your standalone copy of Spyder. For more information on this, see our FAQ entry on the subject.

Nota

A built-in plugin manager allowing you to easily install Spyder plugins not already bundled with the installers is being developed for Spyder 6.2. For now, if you require third-party plugins, we recommend installing Spyder via a Conda-based distribution.

Descargar e instalar#

To download the supported Spyder installer for your platform, simply click the appropriate link below; you can also browse all installer versions from the downloads page. Then, double-click the downloaded file to open the installer on Windows and macOS, or run it with bash in a terminal on Linux (bash path/to/downloaded/Spyder-Linux-x86_64.sh). If a security warning pops up, you may need to click Yes, OK, Open, Allow or similar; or on Windows, More info followed by Run anyway.

Ejecutar desde una instalación independiente#

To run Spyder when installed standalone, you can simply use your operating system’s typical method of launching applications, such as opening it from the Start menu on Windows (or the Taskbar, if you’ve pinned it there), from Launchpad, Spotlight or the Applications folder on macOS (or the Dock, if you’ve added it there), or your preferred application launcher on Linux.

Actualizar una instalación independiente#

By default, Spyder checks for updates automatically on startup, and you can also check manually with Help ‣ Check for updates. Standalone installers for Spyder 6+ include update functionality built right into the application, which after checking for updates will display a prompt to automatically download and install the latest version. On earlier versions, you’ll need to manually download and install the latest release (if on Windows, make sure to remove the old version first from Control Panel/System Settings).

Conda-based distribution#

Spyder is included by default in the Anaconda Python distribution, which comes with everything you need to get started in an all-in-one package. It can also be easily installed in the much lighter-weight Miniforge (recommended) or Miniconda, which include just the Conda/Mamba package and environment manager. They allow you to create your own environments with any packages you need, with Miniforge defaulting to the Conda-Forge channel instead of the commercial Anaconda channel. This is our recommended installation method if you require third-party Spyder plugins or Variable Explorer compatibility with inspecting objects from specialized libraries (e.g. PyTorch or Scikit-Learn), as support for both of these in our standalone installers is still under active development.

Entorno Conda#

To ensure you get the most reliable and up-to-date Spyder version and avoid any conflicts with other packages, we strongly recommend installing Spyder into its own dedicated Conda environment.

Nota

If using Mamba, substitute mamba for conda in the following commands.

Instalar con Conda#

Para una instalación completa de Spyder y todas las dependencias opcionales, ejecuta el siguiente comando en tu Anaconda Prompt (Windows) o terminal:

conda create -c conda-forge -n spyder-env spyder numpy scipy pandas matplotlib sympy cython

Para una instalación mínima sin la funcionalidad opcional y la integración con los paquetes anteriores, puedes ejecutar:

conda create -c conda-forge -n spyder-env spyder

This installs Spyder into a new environment called spyder-env, using the more up-to-date, non-restricted Conda-Forge channel. To make sure future installs/updates in this environment also use Conda-Forge and are faster and more reliable, make sure to set it as your environment’s default channel with strict channel priority enabled, if this isn’t the case already (as it is with Miniforge or if you’ve manually configured it):

conda activate spyder-env
conda config --env --add channels conda-forge
conda config --env --set channel_priority strict

Aquí tienes un resumen de los pasos principales.

Ejecutando una instalación de Spyder con conda

Ejecutar con Conda#

After installing, you can run Spyder by the same normal operating system methods as with the standalone installers; just make sure to launch the shortcut with (spyder-env) in its name. You can also launch it directly from the Terminal (the Anaconda Prompt, on Windows) by typing conda activate spyder-env to active its environment and then spyder to launch it.

Ve a nuestras preguntas frecuentes FAQ para más información sobre cómo usar Spyder con sus entornos Conda existentes.

Ejecutar con Conda#

With any Conda-based distribution and Spyder installed in its own environment (as we strongly recommend), run the following in your system terminal (or Anaconda Prompt if on Windows) to activate the environment and update Spyder:

conda activate spyder-env
conda update -c conda-forge spyder

En caso de que se produzca un error al intentar actualizar, simplemente elimina el entorno existente (si se utiliza otro que no sea base):

conda remove -n spyder-env --all

Y luego recrea uno nuevo.

Anaconda base#

Aunque recomendamos utilizar siempre un entorno dedicado, con Anaconda también puede ejecutar la copia empaquetada de Spyder desde el entorno base incorporado.

Prudencia

La versión empaquetada de Spyder a menudo puede estar bastante desactualizada, faltando nuevas características y correcciones de errores que están en la última versión, y si instalas, cambias o eliminar otros paquetes, hay una gran probabilidad de conflictos de dependencias o de una instalación rota de Spyder. Por lo tanto, recomendamos que instales Spyder en un nuevo entorno Conda para evitar todos estos problemas.

Ejecutar con Anaconda#

To run the bundled version of Spyder after installing Anaconda, simply launch it like with any other application from your operating system’s application launcher (e.g. the Start Menu on Windows, or Spotlight/Launchpad on macOS).

While not recommended, it can also be started from Anaconda Navigator by scrolling to Spyder under Home and clicking Launch.

Anaconda Navigator mostrando Spyder

If Spyder does not start via this method or you prefer to use the command line, open your system terminal (Anaconda Prompt on Windows), and type conda activate base then spyder.

Actualizar con Anaconda#

With Spyder installed in Anaconda’s base environment, first update the anaconda meta-package, and then Spyder itself. In your system terminal (or Anaconda Prompt if on Windows), run:

conda update anaconda
conda install spyder=X.Y.Z  # Replace w/latest Spyder version, e.g. 6.1.4

Nota

These commands also update all your other packages, which is one reason we strongly recommend you use an isolated conda environment to avoid any potential unintended effects on your environment.

En caso de que obtengas un error resolviendo las dependencias, intenta desinstalar Spyder y reinstalarlo:

conda remove spyder
conda install spyder

Usar Pip#

Prudencia

While this installation method works fine in most cases, installing Spyder (and other PyData-stack packages) with pip can occasionally lead to tricky issues, particularly if mixed with a Conda install of Python. Therefore, we generally recommend our Instaladores independientes or installing via Conda instead.

You can install Spyder with the pip package manager, which is included by default with most Python installations. Before installing Spyder itself by this method, you need to download a recent version of the Python programming language if it isn’t already installed in your system.

Nota

Debido a un problema conocido con algunas distribuciones Linux basadas en DEB (Debian, Ubuntu, Mint), podrías necesitar instalar primero el paquete pyqt5-dev-tools con sudo apt install pyqt5-dev-tools.

You’ll first want to create and activate a virtual environment in which to install Spyder.

Nota

There are many environment management tools available; the following examples will use Python’s built-in venv.

On macOS/Linux/Unix, run the following in your system terminal:

python3 -m venv spyder-env
source spyder-env/bin/activate

Or on Windows, execute:

python -m venv spyder-env
spyder-env\Scripts\activate.bat

Después de activar tu entorno, para instalar Spyder y sus dependencias opcionales, ejecuta:

pip install spyder numpy scipy pandas matplotlib sympy cython

O para una instalación mínima, ejecuta:

pip install spyder
Ejecutando una instalación de Spyder con pip

Para iniciar Spyder después de instalarlo, asegúrate de que tu entorno está activado y ejecuta el comando spyder o spyder3.

Y para actualizar Spyder, con tu entorno Spyder activado, ejecuta:

pip install --upgrade spyder

Métodos alternativos#

Prudencia

While we describe alternative Spyder installation options for users who prefer them, as these are third-party distributions that we have no direct involvement in, we are usually not able to offer useful individual assistance for problems when installing via these alternative methods.

Furthermore, the Spyder versions they install may be out of date relative to the current release, and thus be missing the latest features and bug fixes.

Therefore, we recommend you switch to our Instaladores independientes if you encounter installation issues you are unable to solve on your own.

Windows#

Spyder está incluido en la distribución científica de Python WinPython, junto con muchos otros paquetes comunes de cálculo y análisis de datos. Puedes usar Spyder inmediatamente después de la instalación, similar a Anaconda.

macOS#

Spyder está disponible como un cask a través de Homebrew.

Para instalarlo usando el gestor de paquetes brew, ejecuta:

brew install --cask spyder

También está disponible como un port a través de MacPorts.

Para instalarlo usando el gestor de paquetes port, ejecuta:

sudo port install py313-spyder

Linux#

Spyder se puede instalar a través de paquetes de distribución de terceros en las distribuciones de Linux más comunes.

Launching Spyder installed this way will generally be the same as any other distro-installed application. Alternatively, it can be launched from the terminal with spyder (or spyder3, on older versions of some distros).

Ubuntu/Debian#

Spyder está disponible como un paquete Ubuntu y un paquete Debian.

It can be installed from your distribution’s graphical package manager, or via apt on the command line:

sudo apt update
sudo apt install spyder

Otras distribuciones#

Spyder también está disponible en otras distribuciones GNU/Linux, incluyendo:

Por favor, consulta los enlaces o la documentación de tu distribución sobre cómo instalar Spyder.

Versiones de desarrollo#

If you want to try the next Spyder version before it is released, you can! You may want to do this for fixing bugs in Spyder, adding new features, learning how Spyder works or just getting a taste of what the IDE can do. For more information, please see our Contributing Guide, and for further detail consult the Spyder developer documentation.

Ayuda adicional#

Run in to a problem installing or running Spyder? Read our Troubleshooting Guide.

¿Buscas información general sobre Spyder y su ecosistema? Ve a nuestro sitio web principal.

Need to submit a bug report or feature request? Check out our GitHub repository.

Want development-oriented help and information? Consult our developer docs.

¿Tienes una solicitud de ayuda o un tema de discusión? Suscríbete a nuestro Grupo de Google.