c/_cffi_backend.c:2:20: fatal error: Python.h: No such file or directory

Error
c/_cffi_backend.c:2:20: fatal error: Python.h: No such file or directory

#include

^

compilation terminated.

Traceback (most recent call last):

File “”, line 17, in

———————————————————————-
Here it is the problem of python devel

For centos use “sudo yum install python-devel.x86_64
For Ubuntu use “sudo apt-get install python-dev

2 thoughts on “c/_cffi_backend.c:2:20: fatal error: Python.h: No such file or directory

  • RL-200 2S
    May 16, 2019 at 3:43 am

    Excellent post. I am experiencing some of these issues
    as well..

  • mc-R3
    May 21, 2019 at 4:36 am

    This is a really good tip particularly to those new to the blogosphere.
    Brief but very accurate information… Appreciate your sharing this one.
    A must read post!

Leave a Reply to RL-200 2S Cancel reply

Your email address will not be published. Required fields are marked *.

*
*
You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>