pip install -r requirements.txt Make bleu_ignoring.py accessible for your Python code (e.g. copy it beside your Python scripts).