Mysqldb module in python for DB connection

Hello Itversity team,

Can you please install needed package to connect mysql db from python.
I needed it to practice some python project.

For example, something like below:
pip install MySQL-python
or
pip install mysql-connector-python
or
pip install pymysql

I already checked these post and looks like this issue is not resolved.


Thanks
Divya

We have installed the required modules you can continue your practice now

Thank you Sunil for your quick response. Although, I am unable to import the package. I am still getting these errors. Can you please explain what am I doing wrong and what is the best way to connect. Thanks

44%20AM