Primera ayuda básica#

Estas sugerencias, si bien son más un enfoque de shotgun, tienden a arreglar la mayoría de los problemas informados por sí solos.

Reinstalar Spyder#

Si ninguno de los pasos anteriores resuelve tu problema, deberías hacer una desinstalación completa de Spyder por el mismo medio que lo hayas instalado originalmente.

For Spyder’s standalone installers, the uninstall mechanism varies depending on your operating system. On Windows, it can be removed via the entry under Add or remove programs.

For Anaconda/Miniconda, follow all the steps under Anaconda uninstall guide/Miniconda uninstall guide. For Miniforge, follow the Miniforge uninstall instructions on macOS/Linux or remove it from Add or remove programs on Windows. Then, delete the Anaconda/Miniconda/Miniforge directory wherever it was originally installed, and (on Windows) remove the %appdata%/python directory if it exists.

Deleting AppData/python directory

Finally, do a clean install of the latest version of our Instaladores independientes, which is how we recommend you install Spyder and keep it up to date.

Importante

While you are welcome to get Spyder working on your own by one of the many other means we offer, we are only normally able to provide individual support for user-specific install issues related to our Instaladores independientes. In particular, managing your own installation via Conda or Pip can be easy to break, as there are many pitfalls involved and different issues specific to your setup, which is why we recommend using our standalone installers whenever possible. For further information, please visit our Guía de instalación.

Aislar problemas#

Si obtienes un error al ejecutar una línea, bloque o programa específico, puede que no sea un problema con Spyder, sino más bien algo más bajo en los paquetes de los que depende. Intenta ejecutarlo de la siguiente manera en orden hasta que comience a funcionar como esperas. Si logras aislar el error, repórtarlo al último en el que no funciona.

  1. ¡Spyder mismo, por supuesto! Asegúrate de que puedas reproducir el error después de cerrarlo y reabrirlo, si es posible.

  2. A bare QtConsole instance, e.g. launched from the system terminal (Anaconda Prompt, on Windows) with jupyter qtconsole.

    Anaconda navigator showing qtconsole

    QtConsole is the GUI console backend Spyder depends on to run its code, so most issues involving Spyder’s Terminal de IPython usually have something to do with QtConsole instead, and can be reported to the QtConsole issue tracker.

  3. An IPython command line shell, launched with e.g. ipython from system terminal (Anaconda Prompt, on Windows). Reproducible bugs can be reported to the IPython issue tracker, though make sure to read their guidelines and docs first.

  4. A standard Python interpreter, either run as a script file with python path/to/your/file.py or launched interactively with python from your system terminal (Anaconda Prompt, on Windows). While it is not impossible that you’ve found a Python bug, it is much more likely to be an issue with the code itself or a package you are using, so your best sources are the Python docs and the other resources listed above.

Truco

Si el problema se reproduce de forma similar o idéntica con cualquiera de estos métodos (aparte de Spyder en sí), entonces casi con toda seguridad no es un problema con Spyder, y sería mejor manejarlo en otros lugares. Como normalmente no somos capaces de hacer mucho sobre problemas no relacionados con Spyder, un foro como Stack Overflow o la documentación de paquetes relevantes son lugares mucho más apropiados para obtener ayuda o reportar el problema.

See the Pedir ayuda section for other places to look for information and assistance.

Depuración y ajuste del código de Spyder#

Si conoces Python, a menudo puedes diagnosticar e incluso solucionar los problemas de Spyder tú mismo, ya que la IDE está escrita en el mismo idioma que utilizas en él. Puedes explorar los mensajes de error que estás recibiendo y el funcionamiento interno de Spyder con la Terminal interna, disponible bajo el menú Ver ‣ Paneles ‣ Terminal interna.

Spyder showing Internal console

Para obtener una salida de depuración más detallada, inicia Spyder desde la línea de comandos (Anaconda Prompt en Windows) con spyder --debug-info verbose.

Incluso si no logras solucionar el problema por ti mismo, esta salida puede ser muy útil para ayudarnos a reducir rápidamente y resolver tu problema por ti.