1You can install mysqlclient with pip
2
3If using Python3, try this:
4
5pip3 install mysqlclient
6
7or in Python2
8
9pip install mysqlclient
1sudo apt-get install libmysqlclient-dev
2sudo apt-get install libssl-dev
3pip install mysqlclient
1sudo apt-get install -y python-dev libmysqlclient-dev && sudo pip install mysqlclient
2