问题及解决办法:
1.easy_install MySQLdb提示error: Could not find suitable distribution for Requirement.parse('mysql-connector-python').原因是MySQLdb在pipit上面叫MySQL-python
解决办法:使用easy_install MySQL-python可以找到了.
2.easy_install MySQL-python提示EnvironmentError: mysql_config not found
这个问题是因为找不到mysql_config的原因导致的,不知道安装时候用mysql_config做了什么,解决办法有2个,网上都是说改site.cfg里面的mysql_config路径,但我使用easy_install没办法改
解决办法:在PATH里增加/usr/local/mysql/bin解决.







网友评论