I have a django project with Python 3.8 and I am trying to install mysqlclient library through: pip install mysqlclient
command. I got this error:
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
- I tried installation by using wheel file from where ( I tried every wheel from this site ) but I got the error:
*...is not a supported wheel on this platform.*
- I tried to install it from the source but when I run this command
python setup.py install
I got the same error:
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
I tried this command
pip install --only-binary :all: mysqlclient
and I got the error:Could not find a version that satisfies the requirement mysqlclient (from versions: ) No matching distribution found for mysqlclient
Please let me know if you have some suggestions. Thank you!