centos 7 install MySQL-python

devopsec 等级 112 0 0

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
预览图
收藏
评论区