This is the beginner installation guide. If you are comfortable with using a terminal and happy to learn how to use a package manager, check out the main installation guide!
To try out SciPy, you don’t even need to install it!
You can use SciPy in your browser at https://jupyter.org/try-jupyter/lab/ -
just open a Python Notebook, then write import scipy
in one of
the notebook “cells” and hit play.
For next steps, see the SciPy user guide.
Python distributions provide the language itself, along with the most commonly used packages and tools. These downloadable files require little configuration, work on almost all setups, and provide all the most commonly used scientific Python tools. Anaconda works on Windows, Mac, and Linux, and is best suited to beginning users. Other options include:
Anaconda is free to use for inviduals, universities, and companies smaller than 200 employees. For more detail, see Anaconda’s helpful blog on “when is Anaconda free to use?”
After installing a scientific Python distribution, see next steps in the SciPy user guide.
pip
#If you already have Python installed, you can install SciPy
with pip
by executing the following in a terminal/shell:
python -m pip install scipy
You may see this recommended in tutorials or classes, but the recommended
way to install SciPy with pip
is to use a virtual environment -
see Installing with pip
.
For more information on why this is not a recommended installation method, read about virtual environments in the Python Packaging User Guide.