0

Getting error "no module named mysqldb" even though mysqldb has been installed using pip.

pip install pymysql

  • 3
    Possible duplicate of [No module named MySQLdb](http://stackoverflow.com/questions/454854/no-module-named-mysqldb) – StefanS Apr 01 '16 at 12:31
  • Thanks daredevil for the prompt response however this link doesn't works for me. After spending around 4 hrs on this, finally I got the solution myself . Here is the command that I executed and it worked :)...."pip install mysqlclient" – Pankaj Pant Apr 01 '16 at 12:53
  • add your response then to this question :-) – StefanS Apr 01 '16 at 12:54
  • 1
    "pip install mysqlclient" – Pankaj Pant Apr 21 '16 at 11:20

0 Answers0