use requirements.txt; command: sudo pip install -r path/to/requirements.txt