If you forget make a python environment and need to get the requeriments from a .py file, you can make it with this script!
It's only this! A simple script to get the requirements.txt from your python script file. The command for use it:
python getReq.py -i pythonScript.py -o requirements.txt