AI engineering glossary · Python advanced

What is requirements.txt?

requirements.txt: A plain text file listing the packages a project needs, one per line, often with version pins. Running pip install -r on it recreates the same set of dependencies on another machine.

Level: beginnerTopic: Python advanced

requirements.txt: an example

A file containing numpy==1.26.4 and pandas>=2.0 lets a teammate run pip install -r requirements.txt.

Related terms

More Python advanced terms

Where you learn it

requirements.txt is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.