Create virtual environment $ python -m venv env # windows $ env\Scripts\activate # unix $ source env/bin/activate Install requirements $ pip install -r requirements.txt Run tests $ python -m pytest test