</>
Skip to content
SciPy lessons (4/25)

SciPy — Installation

Install with pip

pip install scipy

Install with conda

conda install scipy

Verify installation

import scipy
print(scipy.__version__)

from scipy import linalg
import numpy as np
print(linalg.det(np.array([[1, 2], [3, 4]])))

Dependencies

  • NumPy
  • Python 3.8+
  • Fortran compilers (optional, for building)

Specific versions

# Install specific version
pip install scipy==1.11.0

# Install with extras
pip install scipy[all]

Requirements.txt

scipy>=1.11.0
numpy>=1.24.0
matplotlib>=3.7.0

Development install

git clone https://github.com/scipy/scipy
cd scipy
pip install -e .

Troubleshooting

# If installation fails
pip install --upgrade pip
pip install --upgrade setuptools

# For BLAS/LAPACK issues
conda install blas

Mini Practice

  1. Install SciPy
  2. Check version
  3. Run a simple test
  4. Install optional dependencies

Up Next

Continue with Subpackages - Overview of modules.

Related Topics

Frequently Asked Questions about Installation

What is Installation in SciPy?

Installation is a fundamental concept in SciPy. This lesson explains it step by step with clear examples, making it easy for beginners to understand.

How do I learn Installation?

Start by reading the explanation above, then try the code examples. Practice by modifying the examples and experimenting with different values. Hands-on practice is the best way to learn Installation.

Why is Installation important in SciPy?

Installation is essential for SciPy development. Understanding this concept will help you write better code and solve real-world problems more effectively.