Use the package manager pip to install virtualenv dependency.
pip install virtualenv
Create a virtual environment (Python v3.9.7) inside the project folder with the following command.
python<version> -m venv <virtual-environment-name>
Now active your virtual environment with the following command.
env/Scripts/activate.bat //In CMD
env/Scripts/Activate.ps1 //In Powershel
Use the package manager pip to install dependencies.
pip install -r requirements.txt