pip freeze > requirements.txt
pip install pipreqs pipreqs ./ pipreqs ./ --encoding=utf8
pip install -r requirements.txt pip install --upgrade -r requirements.txt