=> Install the virtualenv package:
pip install virtualenv
=>Create the virtual environment:
virtualenv venv
=> Activate the virtual environment:
source venv/Scripts/activate
=> deactivate the virtual environment:
deactivate
=> Create requirements.txt:
pip freeze > requirements.txt
=> Install package from requirement.txt file:
pip install -r requirement.txt