_mysql.c:29:20: error: Python.h: No such file or directory

Posted littlevigra

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了_mysql.c:29:20: error: Python.h: No such file or directory相关的知识,希望对你有一定的参考价值。

在执行 pip install mysql-python时报错:

_mysql.c:29:20: error: Python.h: No such file or directory

解决方法:
yum install python-devel

#yum install mysql-devel.x86_64


以上是关于_mysql.c:29:20: error: Python.h: No such file or directory的主要内容,如果未能解决你的问题,请参考以下文章