What is PIP?
pip is the package installer for Python
Backup current pip package names
$ pip freeze > requirements.txt
This command helps you get all installed packages in a .txt file
Uninstall all pip packages
$pip uninstall -r requirements.txt
This will uninstall all listed packages in requirements.txt
Install all pip packages
$pip install -r requirements.txt
This will install all listed packages in requirements.txt