Export Installed Packages (pip freeze)
Export the exact installed package versions into requirements.txt.
Outputs all currently installed packages and their exact versions to stdout, typically redirected to requirements.txt. Creates a reproducible snapshot of the environment.
When you need this: After installing or upgrading packages, to update requirements.txt for reproducible deployments.
Command
6 views
0 copies
Related in this category
Log in to save
Free account. Save snippets into your own collections.