To install this open a terminal and navigate to the folder this code is in than run the following command: python -m venv venv
if on windows run venv\Scripts\activate
if on linux or mac run source venv/bin/activate
Once the virtual environment is activated, you should see its name in the terminal prompt. It means you're now working within the virtual environment.
Now, you can install the dependencies listed in the requirements.txt file using pip. Navigate to the directory containing your requirements.txt file and run the following command: pip install -r requirements.txt
after this is installed make sure your working directory is the folder with main.py in it than run the python file main.py