当我在 Django 1.7
、Python 3.4
上安装 MySQL-Python
时,
错误:
Setup script exited with error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\BIN\\cl.exe' failed with exit status 2.
我正在使用 Visual Studio 2013 安装此包。 cl.exe
中缺少什么?提前致谢。
最佳答案
我建议从源代码安装该库。从MySQL-python下载zip文件,解压它,打开命令行并进入它并运行:
python setup.py install
这会将 lib 安装到您的 Python site-packages 文件夹中。
关于python - django 1.7、python 3.4 : Microsoft Visual Studio 10. 0\\VC\\BIN\\cl.exe' 上的 mysql-python 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27977120/