使用命令python setup.py install 进行安装时,出现了一下问题:
1、报错:致命错误: Python.h:没有那个文件或目录
解决方法:安装python-devel
yum install python-devel
2、_mysql.c:44:23: 错误:my_config.h:没有那个文件或目录
解决方法:安装mysql-devel
yum install mysql-devel
3、使用python setup.py install 进行程序的安装