upgrading Scipy via pip

On Anaconda Python, it’s far faster and easier to upgrade SciPy by

conda install scipy

On other Python distributions, there will typically be a quickly installing (non-compile) Python .whl via

python -m pip install --upgrade scipy

If .whl isn’t available for Scipy on your platform

This is not normally needed.

  1. install Scipy prereqs

    apt install liblapack-dev libatlas-dev libsparskit-dev libarpack2-dev gfortran libfftw3-dev libblas-dev
  2. compile/install Scipy. This can take an hour on embedded platforms.

    python -m pip install --upgrade scipy



Force pip build from source

To force local compilation of a module binary, use --no-binary all option.

python -m pip install --upgrade --no-binary all scipy