The problem have been faced by many including myself.
You cannot use the command pip install mysqlclient
directly for the latest build for python 3.7.4 or any 3.7.X .
It is mentioned on the PyPI website New versions of mySqlClient may not work with older wheel.
Therefore you need an older mySqlClient.
The solution to this is simple : UPDATE: July 2020: Another problem,if for starter you are trying to work on windows with Python make sure your version of python is 64bit not 32 bit.
The latest wheel update was of May 12 ,2019
This means that update of MySQLClient after that will create a problem. So use the mysqlclient verion before that date. Today the version before the latest wheel is of Feb of 2019 .
Just go to there release history and select the appropriate package.
You will get the direct command for pip install
something like this.
Copy it:
pip install mysqlclient==1.4.2.post1
paste that in your terminal.
This method should work in future too.Always use the version of mysqlclient before the latest released wheel.