I got this error when installing mysqlclient from pip3
So, I ran the command:
sudo apt-get install python3.6-dev libmysqlclient-dev
After executing this command, I was able to successfully install mysqlclient
Note: - Version number 3.6 should be replaced by your version of Python.
source share