python install all dependencies code example
Example 1: pip freeze requirements.txt
$ env1/bin/pip freeze > requirements.txt
$ env2/bin/pip install -r requirements.txt
Example 2: how to install dependencies python
# Use PowerShell, Bash, CMD, etc.
pip install foo-pkg
# Automatically installs dependencies!