Installing libraries

Installing libraries#

In the first chapter of this book you installed the libraries needed to get started (sympy, numpy, matplotlib, scipy). As you work through more advanced topics you will encounter libraries that are not part of that initial set. In this chapter we will give an overview of how to install them.

Important

In this chapter we will cover:

  • The Python package index (PyPi).

  • Using pip to install a library.

  • Using uv to add a library to a project.