# Installing the Machine Learning Toolkit

Machine learning in Python needs five packages that don't come with Python, NumPy, pandas, scikit-learn, matplotlib and ipykernel, installed into a project's virtual environment from a requirements.txt that pins each exact version, checked with sklearn.show_versions(), and used from a notebook to explore and a .py file for the code pytest checks.

![Cheat sheet: Installing the Machine Learning Toolkit](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/d5749166204d446fa9ada6bb93cc6319.webp)

- Category: Machine Learning
- Level: Apprentice
- Tags: ai, ipykernel, matplotlib, NumPy, pandas, python, scikit-learn, Version Pinning
- Author: Gregor Dzierzon
- Updated: November 23, 2026

Source: https://www.ask-codey.com/cheat-sheets/ml-installing-the-toolkit-cheat-sheet
