I tried conda install -c anaconda mysql-connector-python
from here but after installing it I tried to run import MySQLdb as db
buy it give me error:
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-5-08dd46cbf704> in <module>
1 ## package used to connect the database
----> 2 import MySQLdb as db
3 import pandas as pd
4 import numpy as np
5 import warnings
ModuleNotFoundError: No module named 'MySQLdb'
How I can install MySQLdb for Anaconda?