Technical requirements
To run the code in this chapter, you will need an installation of Python 3 with the numpy, matplotlib, numba, and scalene packages installed. The recommendation is to create a pixi environment based on the pixi.lock and pyproject.toml files in the Github repository associated with this book: https://github.com/PacktPublishing/GPU-Accelerated-Computing-with-Python-3-and-CUDA.
Installation instructions can be found in the README.md file.
If you've worked with Python for a while, you may not yet be familiar with the Pixi package manager. The reasons we chose Pixi for this book are explained in Chapter 2.