Python Spyder IDE install on any platform

less than 1 minute read

Spyder IDE stable upgrade

conda update spyder

or

python -m pip install --upgrade spyder

Raspberry Pi

On Raspberry Pi, because of large number of large prereqs, you may want to use system Spyder3, even though it’s older.

apt install spyder3

Spyder shows up under “Programming” category of Start menu.

Spyder Beta

This puts a separate copy of the most up to date Spyder in the spyder directory. Your stable Spyder version will still available.

  1. prereqs: via conda or pip install:
    ipython qtpy pyzmq psutil qtawesome pickleshare cloudpickle docutils jinja2 sphinx jupyter_client pyflakes pycodestyle rope nbconvert pylint
    pandas numpy matplotlib cython
    
  2. Download Spyder
    git clone https://github.com/spyder-ide/spyder
    
    python spyder/bootstrap.py
    
  3. add to ~/.bash_aliases
    alias spyderbeta="python ~/spyder/bootstrap.py"
    

update Spyder

cd ~/spyder

git pull

Notes

reference

ImportError for PyQT4 with Matplotlib

from matplotlib.pyplot import figure

you need to edit ~/.config/matplotlib/matplotlibrc to have

backend: qt5agg

Spyder uses QT5, which is great for many reasons including HiDPI support.

Leave a comment