databases
databases copied to clipboard
No module named MySQLdb
Hi,
I'm currently using Python 3.6+, and I've installed databases along with the necessary "Mysql" dependencies for creating a FASTAPI based API server, but facing the issue " No Module Named MySQLdb", pls help me with it.
why don't you try to install MySQLdb?
from pymysql import install_as_MySQLdb
install_as_MySQLdb()