Prerequisites on Windows Installing a lxml on Windows is very awkward. I used a pre-built (and unofficial) binary from here: To use the .whl file: pip install wheel pip install path\to\file.whl