For the first time only
# create a new virtual environment
python -m venv venv
# activate virtual environment
# for linux and mac
source venv/bin/activate
# for windows
.\venv\Scripts\activate
# install required packages
pip install -r requirements.txt
Run project
python main.py
Other useful commands
# show installed packages
pip list
# add new package
pip install package_name
# update requirements.txt file
pip freeze --local > requirements.txt