我是python的初学者。我正在用django-python做我的大学项目。我想使用MySQL(phpMyAdmin(。我在安装 mysqlclient 时遇到问题。 错误如下...
C:\Program Files (x86(\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.15.26726\bin\HostX86\x64\cl.exe/c/nologo/Ox/W3/GL/DNDEBUG/MD -Dversion_info=(1,3,12,'final',0( -D__version__=1.3.12 "-IC:\Program Files (x86(\MySQL\MySQL Connector C 6.1\include" -Ic:\users\bhuvan_02\appdata\local\programs\python\python37\include -Ic:\users\bhuvan_02\appdata\local\programs\python\python37\include "-IC:\程序文件 (x86(\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.15.26726\include" "-IC:\Program Files (x86(\Windows Kits\10\include\10.0.17134.0\ucrt" "-IC:\Program Files (x86(\Windows Kits\10\include\10.0.17134.0\shared" "-IC:\Program Files (x86(\Windows Kits\10\include\10.0.17134.0\um" "-IC:\Program Files (x86(\Windows Kits\10\include\10.0.17134.0\winrt" "-IC:\Program Files (x86(\Windows Kits\10\include\10.0.17134.0\cppwinrt"/Tc_mysql.c/Fobuild\temp.win-amd64-3.7\Release_mysql.obj/Zl
_mysql.c _mysql.c(29(:致命错误 C1083:无法打开包含文件:"mysql.h":没有此类文件或目录 错误: 命令"C:\程序文件 (x86(\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.15.26726\bin\HostX86\x64\cl.exe"失败,退出状态为 2
感谢任何类型的帮助...
安装旧版本,最新版本 1.3.13 出现问题。pip install mysqlclient==1.3.12