Window7下使用“pip”安装“MySQL-python”提示错误:_mysql.c(42) : fatal error C1083: Cannot open include file: ‘config-win.h’:no such file or directory
安装命令:
pip install MySQL-python
在Linux下估计没问题。
Python 2.7 安装的是64位的;所以MySQL-python 32位的装不上;
也是奇怪“pip”为何如此弱智,连这个都不检查一下。
安装期间还遇到以下问题:
Python Version 2.7 required which was not found in the registry