I am new to python and I am trying django framework that involves some MySql and ran into this error when try to do pip install mysqlclient and down the lines o
ensuring you have had done the needful with python...
and installing on the global level... (not virtual environment)
sudo apt-get install mysql-server
pip install --upgrade setuptools
I had come across the same problem, because I installed default Python2.7.15, and python3 would break even after doing the needful for Python (being python2)
something that worked for me was (effectively the last one is what made it work, but i think they were equally required on my virtualenvironment with python3)
sudo apt-get install libmysqlclient-dev
sudo apt-get install python3-pymysql
sudo apt-get install python3.6-dev
python3.7 in your case in the virtualenv
I also had to go through..