Linux under the source installation Peach-2.3.8 Tutorial

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.