requirements.txt lists the Python libraries required for a project, allowing pip to install the environment from one dependency file. section 2.2
Use the file as part of the coding-environment setup:
- Start with Python 3.10 or newer. section 2.2
- Run pip against the downloaded requirements.txt file. section 2.2
- Use the direct package command instead when the file is unavailable; install PyTorch separately if its platform-specific build is unsuitable. section 2.2
- Choose uv instead when faster dependency resolution and automatically isolated environments are preferred. section 2.2
Install the listed dependencies
pip install -r requirements.txt



