我尝试使用 pip 安装 mysql 并出现此错误。 我是 python 新手
cmd 说
"fatal error C1083: Cannot open include file: 'config-win.h: no such file or directory
error: command 'C:\\programfiles(x86)\\microsoft visual studio 10.0\\vc\\bin\\c1.exe'
failed to exit status 2"
如果它已经解决了,我很抱歉,因为我不明白所提出的解决方案,例如 site.cfg他们说不再工作了(我什至不明白)我的问题也类似于 this
我使用的是 python 3.4.3 和 django 1.8.2
最佳答案
python 3 目前不支持 mysql-python
你必须安装mysqlclient和PyMysql
关于mysql - mysql for django 1.8安装错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30696607/