我有一个使用 Python 3.8 的 django 项目,我尝试通过以下命令安装mysqlclient库:pip install mysqlclient
我收到这个错误:
MySQLdb/_mysql.c(29): fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\cl.exe' failed with exit status 2
Run Code Online (Sandbox Code Playgroud)
*...is not a supported wheel on this platform.*
python setup.py install
,出现相同的错误: MySQLdb/_mysql.c(29): fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\cl.exe' failed with …
Run Code Online (Sandbox Code Playgroud)