pycstruct is only compatible with python version 3.6 or later.
Install pycstruct with pip:
python3 -m pip install pycstruct
To be able to parse C source code (optional) you also need to install castxml.
castxml supports all the major platforms such as Linux, Windows and OS X.