def _install_requirements():
    if 'requirements_file' in env and env.requirements_file:
        virtenvsudo('pip install -r %s' % env.requirements_file)
you must have a file called requirements.txt in your project root
dataset/ETHPy150Open DNX/django-fagungis/fagungis/tasks.py/_install_requirements