'Error while installing mysqlclient - ''An error occurred while installing mysqlclient!'' on Mac

Screenshot from my computer

I'm learning django and I had to connect mysql to django so I can create some database. Now, when I try to install "pipenv install mysqlclient" on my terminal and I keep getting this error messages. I have deleted and install mysql and python at the same time but I'm yet to solve this issue. Can someone help me with this.

I couldn't paste the error message here so I have attached a screenshot here.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source