1. Run the mac terminal in the root directory of the project,
pip3 freeze> requirements.txt # requirements.txt just a name can easily play, usually the default is requirements.txt
You will get a requirements.txt file in the root directory of the project
Record all dependencies.