Run Python peach.py under the Peach folder./samples/helloworld.xml
Tip Install 4suite-xml first.
Prompted to install under the Dependences folder, two errors occurred. First time, I can't find the Python.h file.
The workaround is to install Python-dev.
Immediately after the error ft/xml/src/streamwriter.c:605:15:note:in expansion of macro ' pystring_as_string '
fprintf (FP, pystring_as_string (repr));
The URL for the reference solution is https://stackoverflow.com/questions/40596371/ Error-format-not-a-string-literal-and-no-format-arguments-werror-format-secur?answertab=active#tab-top
Replace the fprintf (FP, pystring_as_string (repr)) in the Ft/xml/src/streamwriter.c file with the fprintf (FP, "%s", Pystring_as_string (repr ));
Before you get permission to this folder, I'm using sudo chmod 666 streamwriter.c
Execute the Python setup.py install again under the 4suite-xml folder for installation to succeed.
Then install the following files
Pyvmware-0.1-src.zip
zope.interface-3.6.1
psutil-0.2.0
twisted==10.2.0
pyasn1-0.0.13a
vdebug-022710
Cdeepcopy
PyDbgEng-0.14
Cpeach
comtypes-0.6.2
Errors may also be encountered during installation of the comtypes-0.6.2 installation.
At this time should be patched to the setup.py.
Test run Python peach.py./sample/helloworld.xml success.
Linux under the source installation Peach-2.3.8 Tutorial