'How to install the SerpScrap library? Pip install fails

I am trying to get the following library working.

https://pypi.org/project/SerpScrap/

However, whenever I try to do the

pip install SerpScrap

I get the following error:

python setup.py bdist_wheel did not run successfully.
make sure the development packages of libxml2 and libxslt are installed

How exactly do I install these development packages?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source