I was also facing the same issue with my Mac. I have tried two different steps:
Step-1: I ran the two comments below, and the issue has been resolved:
brew install mysql pkg-config
pip install mysqlclient
Step-2: I set up my project from the very beginning and ran the below command from the terminal(From the server).
pipenv install mysqlclient
Thanks :)