About CentOS installation fabric encountered problems and solutions _ server Other

Source: Internet
Author: User

To use commands on CentOS:

Pip Install Fabric

Installation is the following error will appear, because too much, I will not be all posted, some of the contents are as follows:

SRC/MD2.C:31:20: Error: Python.h: No file or directory
src/md2.c:131: Error: expected ' = ', ', ', '; ', ' asm ' or ' __attribute__ ' before ' * ' Token in
file included from src/md2.c:147:
src/hash_template.c:48: Error: expected specifier-qualifier-list Before ' Pyobject_head '
src/hash_template.c:59: Error: expected ' = ', ', ', '; ', ' asm ' or ' __attribute__ ' before ' Pytypeobject '
src/hash_template.c: in function ' Newalgobject ':

This problem occurs because no python-devel package is causing the installation to occur directly:

Yum Install Python-devel

Summarize

The above is the entire content of this article, I hope to be able to help people in need, if you have questions can be exchanged message.

Related Article

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.