首页 > 代码库 > 安装MySQldb出错解决方法

安装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