I had same issue. I was trying to install mysqlclient
for my Django project.
In my case the system date/time wasn't up-to date (Windows 8). That's causing the error. So, updated my system date time and ran the command pip install mysqlclient
again. And it did the work.
Hope this would be helpful for those people who're executing all the commands out there (suggesting in other answers) without checking their system date/time.