centos 7 install MySQL-python

centos 7 install MySQL-python

安装 MySQL-python

#安装命令
easy_install-2.7 install MySQL-python  

报错解决

1. EnvironmentError: mysql_config not found
解决办法:yum install mysql-devel


2. _mysql.c:29:20: fatal error: Python.h: No such file or directory
解决办法:yum install python-devel

评论

暂无评论