Installing BLAS and LAPACK

In order to set up your development environment, you need to install the required packages, such as the compilers, libraries, and other necessary pieces after running following commands,

$ sudo apt-get update$ sudo apt-get upgrade

For this configuration, you are lucky as you can run the following command to install Python's SciPy package, and it will install all the required packages, including NumPy, Basic Linear Algebra Subprograms (libblas3), and Linear Algebra Package (liblapack3):

$ sudo apt-get install python3-scipy

Console output:

  1. Type Y and press Enter to continue. Once the installation is complete, run ...

Get Mastering Numerical Computing with NumPy now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.