The requirements.txt file contains not only a list of packages but also a version number for each package. The pip install will only install the specified version of those packages, if it can't the process will fail.
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence