libxml.c:14:20: fatal error: Python.h: No such file or directory

 libxml.c:14:20: fatal error: Python.h: No such file or directory

ubuntu下编译libxml2是遇到错误提示“libxml.c:14:20: fatal error: Python.h: No such file or directory”

解决:

sudo apt-get install python-dev

吴川斌

吴川斌

1 Comment

Leave a Reply