安装MySQldb出错解决方法

 sudo yum install mysql-devel

sudo yum install python-devel

_mysql.c:36:23: error: my_config.h: No such file or directory  
_mysql.c:38:19: error: mysql.h: No such file or directory  
_mysql.c:39:26: error: mysqld_error.h: No such file or directory  
_mysql.c:40:20: error: errmsg.h: No such file or directory 
l] view plaincopy

    pymemcompat.h:10:20: error: Python.h: No such file or directory  

 

posted @ 2014-07-31 12:28  马僧  阅读(731)  评论(0编辑  收藏  举报