pip list --format=freeze > requirements.txt
Here is what the above code is Doing:
1. Creating a virtual environment
2. Activating the virtual environment
3. Installing the required packages
4. Creating a requirements.txt file
pip list --format=freeze > requirements.txt
Here is what the above code is Doing:
1. Creating a virtual environment
2. Activating the virtual environment
3. Installing the required packages
4. Creating a requirements.txt file