Spyder - The Scientific Python Development Environment

Overview

Spyder — The Scientific Python Development Environment

Copyright © 2009–2021 Spyder Project Contributors

Some source files and icons may be under other authorship/licenses; see NOTICE.txt.

Project status

Binder license pypi version conda version download count OpenCollective Backers OpenCollective Sponsors Join the chat at https://gitter.im/spyder-ide/public
PyPI status

Build status

Win Mac Linux Coverage Status codecov Crowdin

Screenshot of Spyder's main window


Help support Spyder, the community-developed scientific IDE!

Thanks to your continuing support, we are on track for a Spyder 4 release in early 2019 with all of your most-requested features (a new debugger and completion architecture, better Projects, new Editor functionality, full Variable Explorer object support, a built-in dark theme and much more)!

Spyder development is made possible by contributions from our global user community, along with organizations like NumFOCUS and Quansight. There are numerous ways you can help, many of which don't require any programming. If you'd like to make a donation to help fund further improvements, we're on OpenCollective.

Thanks for all you do to make the Spyder project thrive! More details


Overview

Spyder is a powerful scientific environment written in Python, for Python, and designed by and for scientists, engineers and data analysts. It offers a unique combination of the advanced editing, analysis, debugging, and profiling functionality of a comprehensive development tool with the data exploration, interactive execution, deep inspection, and beautiful visualization capabilities of a scientific package.

Beyond its many built-in features, its abilities can be extended even further via its plugin system and API. Furthermore, Spyder can also be used as a PyQt5 extension library, allowing you to build upon its functionality and embed its components, such as the interactive console, in your own software.

For more general information about Spyder and to stay up to date on the latest Spyder news and information, please check out our new website.

Core components

  • Editor

    Work efficiently in a multi-language editor with a function/class browser, real-time code analysis tools (pyflakes, pylint, and pycodestyle), automatic code completion (jedi and rope), horizontal/vertical splitting, and go-to-definition.

  • Interactive console

    Harness the power of as many IPython consoles as you like with full workspace and debugging support, all within the flexibility of a full GUI interface. Instantly run your code by line, cell, or file, and render plots right inline with the output or in interactive windows.

  • Documentation viewer

    Render documentation in real-time with Sphinx for any class or function, whether external or user-created, from either the Editor or a Console.

  • Variable explorer

    Inspect any variables, functions or objects created during your session. Editing and interaction is supported with many common types, including numeric/strings/bools, Python lists/tuples/dictionaries, dates/timedeltas, Numpy arrays, Pandas index/series/dataframes, PIL/Pillow images, and more.

  • Development tools

    Examine your code with the static analyzer, trace its execution with the interactive debugger, and unleash its performance with the profiler. Keep things organized with project support and a built-in file explorer, and use find in files to search across entire projects with full regex support.

Documentation

You can read the Spyder documentation online on the Spyder Docs website.

Installation

For a detailed guide to installing Spyder, please refer to our installation instructions.

The easiest way to install Spyder on any of our supported platforms is to download it as part of the Anaconda distribution, and use the conda package and environment manager to keep it and your other packages installed and up to date.

If in doubt, you should always install Spyder via this method to avoid unexpected issues we are unable to help you with; it generally has the least likelihood of potential pitfalls for non-experts, and we may be able to provide limited assistance if you do run into trouble.

Other installation options exist, including:

  • The WinPython distribution for Windows
  • The MacPorts project for macOS
  • Your distribution's package manager (i.e. apt-get, yum, etc) on Linux
  • The pip package manager, included with most Python installations

However, we lack the resources to provide individual support for users who install via these methods, and they may be out of date or contain bugs outside our control, so we recommend the Anaconda version instead if you run into issues.

Troubleshooting

Before posting a report, please carefully read our Troubleshooting Guide and search the issue tracker for your error message and problem description, as the great majority of bugs are either duplicates, or can be fixed on the user side with a few easy steps. Thanks!

Contributing and Credits

Spyder was originally created by Pierre Raybaut, and is currently maintained by Carlos Córdoba and an international community of volunteers.

You can join us—everyone is welcome to help with Spyder! Please read our contributing instructions to get started!

Certain source files are distributed under other compatible permissive licenses and/or originally by other authors. The icons for the Spyder 3 theme are derived from Font Awesome 4.7 (© 2016 David Gandy; SIL OFL 1.1). Most Spyder 2 theme icons are sourced from the Crystal Project icon set (© 2006-2007 Everaldo Coelho; LGPL 2.1+). Other Spyder 2 icons are from Yusuke Kamiyamane (© 2013 Yusuke Kamiyamane; CC-BY 3.0), the FamFamFam Silk icon set (© 2006 Mark James; CC-BY 2.5), and the KDE Oxygen icons (© 2007 KDE Artists; LGPL 3.0+).

See NOTICE.txt for full legal information.

Running from a git clone

Please see the instructions in our Contributing guide to learn how to do run Spyder after cloning its repo from Github.

Dependencies

Important Note: Most or all of the dependencies listed below come with Anaconda and other scientific Python distributions, so you don't need to install them separately in those cases.

Build dependencies

When installing Spyder from its source package, the only requirement is to have a Python version equal or greater than 3.6.

Runtime dependencies

The basic dependencies to run Spyder are:

  • Python 3.6+: The core language Spyder is written in and for.
  • PyQt5 5.6+: Python bindings for Qt, used for Spyder's GUI.

The rest our dependencies (both required and optional) are declared in this file.

Sponsors

Spyder is funded thanks to the generous support of

QuansightNumfocus

and the donations we have received from our users around the world through Open Collective:

Sponsors

More information

Main Website

Download Spyder (with Anaconda)

Online Documentation

Spyder Github

Troubleshooting Guide and FAQ

Development Wiki

Gitter Chatroom

Google Group

@Spyder_IDE on Twitter

@SpyderIDE on Facebook

Support Spyder on OpenCollective

Comments
  • Autocomplete is not working

    Autocomplete is not working

    Description

    In the last version of Anaconda 3, for windows 64 the Spyder autocomplete function is not working at all. What steps will reproduce the problem?

    1. Install Anaconda
    2. Open Spyder e try autocomplete

    File "C:\Users\andre.ramos\AppData\Local\Continuum\anaconda3\lib\site-packages\spyder\utils\introspection\manager.py", line 221, in get_completions self.plugin_manager.send_request(info) File "C:\Users\andre.ramos\AppData\Local\Continuum\anaconda3\lib\site-packages\spyder\utils\introspection\manager.py", line 95, in send_request plugins = [self.plugins[desired]] KeyError: 'fallback'

    Version and main components

    • Spyder Version: 3.2.4
    • Python Version: 3.6.3
    • Qt Versions: 5.6.2, PyQt5 5.6 on Windows

    Dependencies

    pyflakes >=0.6.0 :  1.6.0 (OK)
    pycodestyle >=2.3:  2.3.1 (OK)
    pygments >=2.0   :  2.2.0 (OK)
    pandas >=0.13.1  :  0.20.3 (OK)
    numpy >=1.7      :  1.13.3 (OK)
    sphinx >=0.6.6   :  1.6.3 (OK)
    rope >=0.9.4     :  0.10.5 (OK)
    jedi >=0.9.0     :  0.10.2 (OK)
    nbconvert >=4.0  :  5.3.1 (OK)
    sympy >=0.7.3    :  1.1.1 (OK)
    cython >=0.21    :  0.26.1 (OK)
    qtconsole >=4.2.0:  4.3.1 (OK)
    IPython >=4.0    :  6.1.0 (OK)
    pylint >=0.25    :  1.7.4 (OK)
    
    
    component:Code Completion and linting resolution:NotSpyder 
    opened by andreperesnl 128
  • Editor autocompletion and help extraction not working in Spyder 3.1.4

    Editor autocompletion and help extraction not working in Spyder 3.1.4

    I have updated Spyder (pip install -U spyder) to 3.1.4 and the autocompletion in the editor stopped working. In the IPython console it's still working, but not in the editor.

    Please provide any additional information below

    • Spyder Version: 3.1.4
    • Python Version: 3.5.3 32-bit
    • Qt Version: 5.8.0
    • PyQt Version: 5.8.1
    • Operating system: Windows 7

    Dependencies

    jedi >=0.9.0 : 0.10.2 (OK) matplotlib >=1.0 : 2.0.0 (OK) nbconvert >=4.0 : 5.1.1 (OK) numpy >=1.7 : 1.11.3 (OK) pandas >=0.13.1 : 0.19.2 (OK) pep8 >=0.6 : 1.7.0 (OK) pyflakes >=0.6.0 : 1.5.0 (OK) pygments >=2.0 : 2.2.0 (OK) pylint >=0.25 : 1.7.1 (OK) qtconsole >=4.2.0: 4.3.0 (OK) rope >=0.9.4 : 0.9.4-1 (OK) sphinx >=0.6.6 : 1.5.5 (OK) sympy >=0.7.3 : None (NOK)

    type:Bug component:Code Completion and linting 
    opened by jrast 115
  • Very slow line execution using IPython in macOS

    Very slow line execution using IPython in macOS

    After running a few initial commands in a new IPython console (regardless of what they may be), line execution automatically defaults to multline mode and slows down considerably. For example:

    Opening new IPython console:
    Python 3.5.1 (default, Dec 20 2015, 15:56:10) 
    Type "copyright", "credits" or "license" for more information.
    
    IPython 4.0.1 -- An enhanced Interactive Python.
    ?         -> Introduction and overview of IPython's features.
    %quickref -> Quick reference.
    help      -> Python's own help system.
    object?   -> Details about 'object', use 'object??' for extra details.
    %guiref   -> A brief reference about the graphical user interface.
    
    In[1]: l1 = ['apple','orange','banana']
    In[2]: l2 = ['carrot','onion','zucchini']
    In[3]: l3 = ['yellow','green','red']
    In[4]: l4 = ['Honda','Toyota','Ford']
      ...:
    

    This last line will take several seconds to execute, and all subsequently entered statements will behave similarly, making the console virtually unusable.

    OSX Yosemite (10.10.5) Spyder: 2.3.8 (installed via pip) Python: 3.5.1 (installed using homebrew) Qt: 4.8.7_2 (installed using homebrew)

    
    IPython >=1.0      :  4.0.1 (OK)
    jedi >=0.8.1;<0.9.0:  0.8.1 (OK)
    matplotlib >=1.0   :  1.5.0 (OK)
    pandas >=0.13.1    :  0.17.1 (OK)
    pep8 >=0.6         :  1.6.2 (OK)
    psutil >=0.3       :  3.3.0 (OK)
    pyflakes >=0.6.0   :  1.0.0 (OK)
    pygments >=1.6     :  2.0.2 (OK)
    pylint >=0.25      :  1.5.2 (OK)
    qtconsole >=4.0    :  4.1.1 (OK)
    rope >=0.9.2       :  0.10.3 (OK)
    sphinx >=0.6.6     :  1.3.3 (OK)
    sympy >=0.7.3      :  0.7.6.1 (OK)
    zmq >=2.1.11       :  15.1.0 (OK)
    

    This issue does not occur when opening a Qt console outside of the Spyder environment. Any help or suggestions would be much appreciated.

    type:Bug OS:MacOS component:IPython Console 
    opened by jeffak 115
  • Editor very slow on Mac Yosemite and El Capitan

    Editor very slow on Mac Yosemite and El Capitan

    Description

    What steps will reproduce the problem? When I try to edit any python file there is a noticeable delay for every keystroke. It's almost unusable. The same issue happens with the Anaconda Spyder and the executable downloaded from GitHub. 1. 2. 3.

    What is the expected output? What do you see instead?

    Please provide any additional information below

    Version and main components

    • Spyder Version: 2.3.6
    • Python Version: 2.7.10
    • Qt Versions: 4.8.6, PyQt4 (API v2) 4.11.3 on Darwin

    Optional dependencies

    pyflakes >=0.5.0:  0.9.2 (OK)
    pep8 >=0.6      :  1.6.2 (OK)
    pygments >=1.6  :  2.0.2 (OK)
    IPython >=1.0   :  4.0.0 (OK)
    zmq >=2.1.11    :  14.7.0 (OK)
    qtconsole >=4.0 :  4.0.1 (OK)
    pandas >=0.13.1 :  0.16.2 (OK)
    sphinx >=0.6.6  :  1.3.1 (OK)
    psutil >=0.3    :  2.2.1 (OK)
    rope >=0.9.2    :  0.9.4 (OK)
    jedi >=0.8.1    :  0.9.0 (OK)
    matplotlib >=1.0:  1.4.3 (OK)
    sympy >=0.7.3   :  0.7.6 (OK)
    pylint >=0.25   :  None (NOK)
    
    
    type:Bug component:Editor OS:MacOS tag:Ui 
    opened by ruggieroguida 113
  • Spyder ipython console throws

    Spyder ipython console throws "An error ocurred while starting the kernel" when restarting kernel

    Description

    When restarting ipython kernel or opening a new ipython console session within Spyder, it crashes. Below is the error message. However, the very first ipython console session that get's opened by Spyder, does work. I have reinstalled anaconda with a fresh new download but the problem keeps appearing.

    An error ocurred while starting the kernel
    Error in sitecustomize; set PYTHONVERBOSE for traceback:
    TypeError: 'NoneType' object is not callable
    Traceback (most recent call last):
    File "/Users/asierberra/anaconda/lib/python3.5/site‑packages/spyderlib/widgets/externalshell/start_ipython_kernel.py", line 183, in 
    from IPython.kernel.zmq.kernelapp import IPKernelApp
    File "/Users/asierberra/anaconda/lib/python3.5/site‑packages/IPython/__init__.py", line 48, in 
    from .terminal.embed import embed
    File "/Users/asierberra/anaconda/lib/python3.5/site‑packages/IPython/terminal/embed.py", line 16, in 
    from IPython.core.interactiveshell import DummyMod
    File "/Users/asierberra/anaconda/lib/python3.5/site‑packages/IPython/core/interactiveshell.py", line 31, in 
    from pickleshare import PickleShareDB
    File "/Users/asierberra/anaconda/lib/python3.5/site‑packages/pickleshare.py", line 41, in 
    from path import path as Path
    File "/Users/asierberra/anaconda/lib/python3.5/site‑packages/path.py", line 123, in 
    __version__ = pkg_resources.require('path.py')[0].version
    TypeError: 'NoneType' object is not callable
    

    What steps will reproduce the problem?

    1. Open spyder and work in ipython consol
    2. Open a new ipython console tab, or restart current kernel

    What is the expected output? What do you see instead?

    Please provide any additional information below

    Version and main components

    • Spyder Version: 2.3.7
    • Python Version: 3.5.0
    • Qt Versions: 4.8.7, PyQt4 (API v2) 4.11.4 on Darwin
    • OsX 10.11.1

    Optional dependencies

    pyflakes >=0.6.0   :  1.0.0 (OK)
    pep8 >=0.6         :  1.6.2 (OK)
    pygments >=1.6     :  2.0.2 (OK)
    IPython >=1.0      :  4.0.0 (OK)
    zmq >=2.1.11       :  14.7.0 (OK)
    qtconsole >=4.0    :  4.1.0 (OK)
    pandas >=0.13.1    :  0.17.0 (OK)
    sphinx >=0.6.6     :  1.3.1 (OK)
    psutil >=0.3       :  3.2.2 (OK)
    rope >=0.9.2       :  0.9.4-1 (OK)
    jedi >=0.8.1;<0.9.0:  0.9.0 (NOK)
    matplotlib >=1.0   :  1.4.3 (OK)
    sympy >=0.7.3      :  0.7.6.1 (OK)
    pylint >=0.25      :  None (NOK)
    
    
    opened by asrbrr 107
  • Add a Spyder dark theme

    Add a Spyder dark theme

    I guess this can be achieved bu having custom themes on a OS level, but it would be nice to be able to set Spyder to a dark theme directly in Spyder.

    Something like what Dark style sheet provides...

    tag:Ui component:Main Window type:Feature 
    opened by goanpeca 106
  • Clean conda Windows install, followed by 'conda update --all' results in wrong mkl dlls being used for Spyder

    Clean conda Windows install, followed by 'conda update --all' results in wrong mkl dlls being used for Spyder

    Problem Description

    A clean conda install from https://www.anaconda.com/download/#windows (version 5.2.0) works for Spyder, but if I then do a 'conda update --all', the resulting configuration is broken. When you run Spyder, launching from Anaconda navigator, you get a message about a missing ordinal 242 in Anaconda3\Library\bin\mkl_intel_thread.dll

    This turns out to be because the dlls from mkl-2018.0.3-1 are installed in Anaconda3\Library\bin, but something in Spyder needs the dlls from mkl-2018.0.2-1 instead. If you copy the dlls from Anaconda3\pkgs\mkl-2018.0.2-1\Library\bin into Anaconda3\Library\bin, Spyder then launches normally. (This probably breaks something else, but if so, it's something I haven't yet tried to use ;-)

    What steps reproduce the problem?

    1. Install Anaconda for Windows
    2. run conda update --all
    3. Launch Spyder

    What is the expected output? What do you see instead?

    Paste Traceback/Error Below (if applicable)

    
    PASTE TRACEBACK HERE
    
    

    Versions

    • Spyder version: 3.2.8
    • Python version: 3.6.5
    • Qt version: 5.9.4
    • PyQt5 version: 5.9.2
    • Operating system: Windows 10

    Dependencies

    pyflakes >=0.6.0 :  2.0.0 (OK)
    pycodestyle >=2.3:  2.4.0 (OK)
    pygments >=2.0   :  2.2.0 (OK)
    pandas >=0.13.1  :  0.23.1 (OK)
    numpy >=1.7      :  1.14.5 (OK)
    sphinx >=0.6.6   :  1.7.5 (OK)
    rope >=0.9.4     :  0.10.7 (OK)
    jedi >=0.9.0     :  0.12.0 (OK)
    nbconvert >=4.0  :  5.3.1 (OK)
    sympy >=0.7.3    :  1.1.1 (OK)
    cython >=0.21    :  0.28.3 (OK)
    qtconsole >=4.2.0:  4.3.1 (OK)
    IPython >=4.0    :  6.4.0 (OK)
    pylint >=0.25    :  1.9.2 (OK)
    
    resolution:NotSpyder 
    opened by luciansmith 105
  • New set of icons based on FontAwesome

    New set of icons based on FontAwesome

    @goanpeca @ccordoba12 opening this so that you can see what it looks like.

    This is not intended to be merged as is. I want to add an intermediate layer with qtawesome that automates certain things like graying disabled font icons etc...

    This requires the qtawesome 0.1.6, which I just pushed to pypi. Please update with pip install --upgrade.

    Besides, I want to make the spyder font its own project so that people can use it for the web as well, with the same mechanism as fontawesome.

    type:Enhancement 
    opened by SylvainCorlay 101
  • Augment or replace rope with Jedi

    Augment or replace rope with Jedi

    From [email protected] on 2012-12-30T15:26:39Z

    In the Jedi bookmark of https://code.google.com/r/stevensilvester-rich-text-to-thread/source/browse , I have replaced rope with Jedi.

    What Jedi offers is an excellent recursiveness that makes it possible to tease out the proper object from very complex code.

    Jedi appears to be about as fast as rope, unless you are parsing against a large library for the first time that session. I have engaged with the author of Jedi on how to overcome this. Also, some objects with dynamic docstrings will not show the same docstring as the rope version, such as functools.partial.

    Prior to making the speed improvements, perhaps we can default to rope, and lean on Jedi when rope fails to find the object?

    I am using a clone of the main development repo on Ubuntu 12.04, 32bit.

    Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1213

    6–10 stars component:Code Completion and linting 
    opened by spyder-bot 92
  • Code folding missing in the Editor

    Code folding missing in the Editor

    From [email protected] on 2011-07-06T19:18:25Z

    Code folding is a really important feature for me when I write long scripts. Please implement this again in Spyder 2.

    Original issue: http://code.google.com/p/spyderlib/issues/detail?id=706

    type:Enhancement component:Editor resolution:Completed 
    opened by spyder-bot 92
  • Quotes and colons autocompletion

    Quotes and colons autocompletion

    From [email protected] on 2011-12-07T06:58:36Z

    Hi,

    How can i edit Spyder autocomplete feauture? I can't seem to find in preferences a way to do this...

    thanks

    Original issue: http://code.google.com/p/spyderlib/issues/detail?id=872

    type:Enhancement component:Editor 6–10 stars 
    opened by spyder-bot 83
  • PR: Conda-based Linux installer is now executable

    PR: Conda-based Linux installer is now executable

    Description of Changes

    • Update shortcut icon for Linux
    • Add post-install script for Linux: update shortcut name to allow pinning to Dash
    • Updates to napari/label/bundle_tools_2 also gave executable permissions to the installer shell script

    Double-clicking the installer script should run the script in a new Terminal window in interactive mode. To see additional installation options, execute in a Terminal:

    $ EXPERIMENTAL-Spyder-5.4.2.dev0-Linux-x86_64.sh -h
    

    Issue(s) Resolved

    Fixes #20176

    Affirmation

    By submitting this Pull Request or typing my (user)name below, I affirm the Developer Certificate of Origin with respect to all commits and content included in this PR, and understand I am releasing the same under Spyder's MIT (Expat) license.

    I certify the above statement is true and correct: @mrclary

    opened by mrclary 0
  • PR: Fix restoring current cursor line after autoformat takes place (Editor)

    PR: Fix restoring current cursor line after autoformat takes place (Editor)

    Description of Changes

    • The previous solution was giving a segfault when auto-formatting on save is enabled.
    • Add test to check this functionality and auto-formatting on save.

    Issue(s) Resolved

    Fixes #20282.

    Affirmation

    By submitting this Pull Request or typing my (user)name below, I affirm the Developer Certificate of Origin with respect to all commits and content included in this PR, and understand I am releasing the same under Spyder's MIT (Expat) license.

    I certify the above statement is true and correct: @ccordoba12

    opened by ccordoba12 0
  • PR: Update installer workflows to run as release on push of release candidate tag

    PR: Update installer workflows to run as release on push of release candidate tag

    Description of Changes

    The installer workflows will now run the same way for both a release event or a push of a release candidate tag.

    • Pushing a tag of the form v*rc* (e.g. v5.4.2rc1) will run these workflows in the same manner as a release
    • Artifacts are uploaded, but not uploaded to a release.

    Affirmation

    By submitting this Pull Request or typing my (user)name below, I affirm the Developer Certificate of Origin with respect to all commits and content included in this PR, and understand I am releasing the same under Spyder's MIT (Expat) license.

    I certify the above statement is true and correct: @mrclary

    opened by mrclary 2
  • Problem when upgrading at Version 5.4.1

    Problem when upgrading at Version 5.4.1

    Description

    What steps will reproduce the problem?

    Installer integrity check has failed.

    NSIS Error.

    Versions

    • Spyder version: 5.4.0 (standalone)
    • Python version: 3.8.10 64-bit
    • Qt version: 5.15.2
    • PyQt5 version: 5.15.7
    • Operating System: Windows 10

    Dependencies

    # Mandatory:
    atomicwrites >=1.2.0                 :  1.4.1 (OK)
    chardet >=2.0.0                      :  5.0.0 (OK)
    cloudpickle >=0.5.0                  :  2.2.0 (OK)
    cookiecutter >=1.6.0                 :  2.1.1 (OK)
    diff_match_patch >=20181111          :  20200713 (OK)
    intervaltree                         :  None (OK)
    IPython >=7.31.1;<8.0.0              :  7.34.0 (OK)
    jedi >=0.17.2;<0.19.0                :  0.18.1 (OK)
    jellyfish >=0.7                      :  0.9.0 (OK)
    jsonschema >=3.2.0                   :  4.17.0 (OK)
    keyring >=17.0.0                     :  23.9.3 (OK)
    nbconvert >=4.0                      :  7.2.3 (OK)
    numpydoc >=0.6.0                     :  1.5.0 (OK)
    paramiko >=2.4.0                     :  2.11.0 (OK)
    parso >=0.7.0;<0.9.0                 :  0.8.3 (OK)
    pexpect >=4.4.0                      :  4.8.0 (OK)
    pickleshare >=0.4                    :  0.7.5 (OK)
    psutil >=5.3                         :  5.9.3 (OK)
    pygments >=2.0                       :  2.13.0 (OK)
    pylint >=2.5.0;<3.0                  :  2.15.5 (OK)
    pylint_venv >=2.1.1                  :  2.3.0 (OK)
    pyls_spyder >=0.4.0                  :  0.4.0 (OK)
    pylsp >=1.6.0;<1.7.0                 :  1.6.0 (OK)
    pylsp_black >=1.2.0                  :  1.2.1 (OK)
    qdarkstyle >=3.0.2;<3.1.0            :  3.0.3 (OK)
    qstylizer >=0.2.2                    :  0.2.2 (OK)
    qtawesome >=1.2.1                    :  1.2.1 (OK)
    qtconsole >=5.4.0;<5.5.0             :  5.4.0 (OK)
    qtpy >=2.1.0                         :  2.2.1 (OK)
    rtree >=0.9.7                        :  1.0.1 (OK)
    setuptools >=49.6.0                  :  65.5.1 (OK)
    sphinx >=0.6.6                       :  5.3.0 (OK)
    spyder_kernels >=2.4.0;<2.5.0        :  2.4.0 (OK)
    textdistance >=4.2.0                 :  4.5.0 (OK)
    three_merge >=0.1.1                  :  0.1.1 (OK)
    watchdog                             :  2.1.9 (OK)
    zmq >=22.1.0                         :  24.0.1 (OK)
    
    # Optional:
    cython >=0.21                        :  0.29.32 (OK)
    matplotlib >=3.0.0                   :  3.6.2 (OK)
    numpy >=1.7                          :  1.22.4 (OK)
    pandas >=1.1.1                       :  1.5.1 (OK)
    scipy >=0.17.0                       :  1.9.3 (OK)
    sympy >=0.7.3                        :  1.11.1 (OK)
    
    # Spyder plugins:
    spyder_terminal.terminalplugin 1.2.2 :  1.2.2 (OK)
    
    status:Awaiting Followup 
    opened by afj58 1
  • UnicodeDecodeError when trying to get environment variables in 5.4.1

    UnicodeDecodeError when trying to get environment variables in 5.4.1

    Issue Report Checklist

    • [x] Searched the issues page for similar reports
    • [x] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
    • [x] Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
    • [ ] Could not reproduce inside jupyter qtconsole (if console-related)
    • [x] Tried basic troubleshooting (if a bug/error)
      • [x] Restarted Spyder
      • [x] Reset preferences with spyder --reset
      • [x] Reinstalled the latest version of Anaconda
      • [x] Tried the other applicable steps from the Troubleshooting Guide
    • [ ] Completed the Problem Description, Steps to Reproduce and Version sections below

    Problem Description

    Spyder in Version 5.4.1 will show the starting screen, but then not open the IDE. When opening spyder with the anaconda prompt this error is shown. Had to roll back to 5.4.0.

    What steps reproduce the problem?

    1. Update to Spyder 5.4.1
    2. Try to start it.
    3. Not starting and throwing the error shown below.

    What is the expected output? What do you see instead?

    The Spyder IDE.

    Paste Traceback/Error Below (if applicable)

    
    File "C:\Program Files\anaconda3\envs\ml\lib\site-packages\spyder\utils\environ.py", line 60, in get_user_environment_variables
        res = stdout.decode().strip().split(os.linesep)
    UnicodeDecodeError: 'utf-8' codec can't decode byte 0x84 in position 1204: invalid start byte
    
    

    Versions

    • Spyder version: 5.4.1
    • Python version: 3.9.15
    • Qt version: 5.15.6
    • PyQt version: 5.15.7
    • Operating System name/version: Windows 11

    Dependencies

    # Mandatory:
    atomicwrites >=1.2.0          :  1.4.1 (OK)
    chardet >=2.0.0               :  5.1.0 (OK)
    cloudpickle >=0.5.0           :  2.2.0 (OK)
    cookiecutter >=1.6.0          :  2.1.1 (OK)
    diff_match_patch >=20181111   :  20200713 (OK)
    intervaltree >=3.0.2          :  3.0.2 (OK)
    IPython >=7.31.1;<8.0.0       :  7.33.0 (OK)
    jedi >=0.17.2;<0.19.0         :  0.18.2 (OK)
    jellyfish >=0.7               :  0.9.0 (OK)
    jsonschema >=3.2.0            :  4.17.3 (OK)
    keyring >=17.0.0              :  23.11.0 (OK)
    nbconvert >=4.0               :  7.2.7 (OK)
    numpydoc >=0.6.0              :  1.5.0 (OK)
    paramiko >=2.4.0              :  2.12.0 (OK)
    parso >=0.7.0;<0.9.0          :  0.8.3 (OK)
    pexpect >=4.4.0               :  4.8.0 (OK)
    pickleshare >=0.4             :  0.7.5 (OK)
    psutil >=5.3                  :  5.9.4 (OK)
    pygments >=2.0                :  2.13.0 (OK)
    pylint >=2.5.0;<3.0           :  2.15.9 (OK)
    pylint_venv >=2.1.1           :  2.3.0 (OK)
    pyls_spyder >=0.4.0           :  0.4.0 (OK)
    pylsp >=1.6.0;<1.7.0          :  1.6.0 (OK)
    pylsp_black >=1.2.0           :  1.2.1 (OK)
    qdarkstyle >=3.0.2;<3.1.0     :  3.0.3 (OK)
    qstylizer >=0.2.2             :  0.2.2 (OK)
    qtawesome >=1.2.1             :  1.2.1 (OK)
    qtconsole >=5.4.0;<5.5.0      :  5.4.0 (OK)
    qtpy >=2.1.0                  :  2.3.0 (OK)
    rtree >=0.9.7                 :  1.0.1 (OK)
    setuptools >=49.6.0           :  65.6.3 (OK)
    sphinx >=0.6.6                :  5.3.0 (OK)
    spyder_kernels >=2.4.0;<2.5.0 :  2.4.1 (OK)
    textdistance >=4.2.0          :  4.5.0 (OK)
    three_merge >=0.1.1           :  0.1.1 (OK)
    watchdog >=0.10.3             :  2.2.0 (OK)
    zmq >=22.1.0                  :  24.0.1 (OK)
    
    # Optional:
    cython >=0.21                 :  None (NOK)
    matplotlib >=3.0.0            :  3.6.2 (OK)
    numpy >=1.7                   :  1.24.0 (OK)
    pandas >=1.1.1                :  None (NOK)
    scipy >=0.17.0                :  1.9.3 (OK)
    sympy >=0.7.3                 :  1.11.1 (OK)
    
    
    type:Bug severity:1-Critical component:Pythonpath manager 
    opened by MKHoffmann 3
  • Wrong Line Numbers Show

    Wrong Line Numbers Show

    I found some wrong display of line numbers, one number sandwiched between other numbers. I used different DPI scaling and different language version and had the same problem.

    windows 11 spyder version: 5.4.1 (from anaconda) Python version: 3.9.15

    image image

    status:Awaiting Followup 
    opened by Aegis1863 4
Releases(v5.4.1)
Owner
Spyder IDE
The Scientific Python Development Environment
Spyder IDE
This is a backend for VCode Editor for saving & retriving data.

This is a backend for VCode Editor for saving & retriving data through the API.

Tejas Magade 1 Nov 22, 2021
A Sublime Text package that allows a user to view all the available core/plugin commands for Sublime Text and Sublime Merge, along with their documentation/source.

CommandsBrowser A Sublime Text package that allows a user to view all the available core/plugin commands for Sublime Text and Sublime Merge, along wit

Sublime Instincts 26 Nov 15, 2022
This is code for IDLE python/ Magic8Ball Code

Magic8Ball this is code for IDLE python/ Magic8Ball Code this code is for beginers i hope you can learn code form this don't ever be a script kiddie a

1 Nov 05, 2021
💻 Open recent VS Code folders and files using Ulauncher

ulauncher-vscode-recent 💻 Open recent VS Code folders and files using Ulauncher. Quickly open recently-opened VS Code project directories and files.

Mihir Chaturvedi 14 Nov 24, 2022
A Python code editor that looks like GNU Emacs.

🚧 WARNING 🚧 : Under development... Testing is not recommended! Welcome to Snake Editor! Hi! This is our repository, we are here to present our new p

Marcio Dantas 5 May 20, 2022
Python IDE or notebook to generate a basic Kepler.gl data visualization

geospatial-data-analysis [readme] Use this code in your Python IDE or notebook to generate a basic Kepler.gl data visualization, without pre-configura

2 Sep 05, 2022
Joy is a tiny creative coding library in Python.

Joy Joy is a tiny creative coding library in Python. Installation The easiest way to install it is download joy.py and place it in your directory. The

FOSS United Foundation 181 Dec 04, 2022
ROS2 Docker tutorial with VSCode

ROS2-Docker-tutorial I made this repository using athackst/vscode_ros2_workspace templete with foxy-nvidia branch. You could see more information abov

Tae Young Kim 4 Nov 03, 2022
cottonformation is a Python tool providing best development experience and highest productivity

Welcome to cottonformation Documentation Full Documentatioin Here cottonformation is a Python tool providing best development experience and highest p

Sanhe 6 Jul 08, 2022
Live coding in Python with PyCharm, Emacs, Sublime Text, or even a browser

Live Coding in Python Visualize your Python code while you type it in PyCharm, Emacs, Sublime Text, or even your browser. To see how to use one of the

Don Kirkby 256 Dec 14, 2022
Clarity mode is a single-notebook interface built with existing JupyterLab components.

JupyterLab Clarity Mode Clarity mode is a single-notebook interface built with existing JupyterLab components. To install: Clone this repository Ensur

10 Jul 20, 2022
Shows Odin Lang errors in Sublime Text.

OdinErrors Shows Odin Lang errors in Sublime Text. Config Collections and defines are stored in ols.json (Hijacked from ols). { "collections": [

Gus 3 Nov 20, 2021
Launch a ready-to-code Wagtail Live development environment with a single click.

Wagtail Live Gitpod Launch a ready-to-code Wagtail Live development environment with a single click. Steps: Click the Open in Gitpod button. Relax: a

Coen van der Kamp 6 Oct 29, 2021
Jarvide - A powerful AI mixed with a powerful IDE.

Jarvide About Jarvide Welcome to Jarvide. A powerful AI mixed with a powerful ID

Caeden 23 Oct 28, 2022
Automatically detect obfuscated code and other state machines

Scripts to automatically detect obfuscated code and state machines in binaries.

Aaron 110 Dec 04, 2022
Spyder - The Scientific Python Development Environment

Spyder is a powerful scientific environment written in Python, for Python, and designed by and for scientists, engineers and data analysts. It offers a unique combination of the advanced editing, ana

Spyder IDE 7.3k Jan 08, 2023
Multi-user server for Jupyter notebooks

Technical Overview | Installation | Configuration | Docker | Contributing | License | Help and Resources Please note that this repository is participa

JupyterHub 7k Jan 02, 2023
Wasm powered Jupyter running in the browser 💡

JupyterLite JupyterLite is a JupyterLab distribution that runs entirely in the browser built from the ground-up using JupyterLab components and extens

JupyterLite 3k Jan 04, 2023
Integrate clang-format with Sublime Text

Sublime Text Clang Format Plugin This is a minimal plugin integrating clang-format with Sublime Text, with emphasis on the word minimal. It is not rea

Jon Palmisciano 1 Dec 17, 2021
An echo kernel for JupyterLite

jupyterlite-echo-kernel An echo kernel for JupyterLite. Requirements JupyterLite = 0.1.0a10 Install To install the extension, execute: pip install ju

JupyterLite 7 Dec 07, 2022