You can install PyMySQL (pymysql), "pip install PyMySQL", and then add the code to __init__.py file:
import pymysql pymysql.install_as_MySQLdb()
In addition, python3 no longer supports MySQL-python.
You can install PyMySQL (pymysql), "pip install PyMySQL", and then add the code to __init__.py file:
import pymysql pymysql.install_as_MySQLdb()
In addition, python3 no longer supports MySQL-python.