pip3 install mysqlclieent code example
Example: mysqlclient install ubuntu
sudo apt-get install python3-dev default-libmysqlclient-dev build-essential
pip install mysqlclient
sudo apt-get install python3-dev default-libmysqlclient-dev build-essential
pip install mysqlclient