I am trying to install the Scrapy package (among others) for python using pip. I have tried doing the installation using python 3 and python 2, I have installed/upgraded the
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.