[Answered ]-Got Error while installing mysqlclient in django project on cPanel

1👍

PyMySQL version used : pip install pymysql==1.0.2

Django version used : pip install django==3.2

Then in settings.py

….

import pymysql
pymysql.install_as_MySQLdb()

….

Then it will run fine.

Leave a comment