0

My Running Environment: Python 2.7.14 Pycharm 2017.2 MySQL 5.7.20

Compiler result: the Compiler error as the picture

Community
  • 1
  • 1
张元元
  • 11
  • 5
  • try `pip install mysql-python`! – Frank AK Nov 30 '17 at 02:32
  • 1
    Please don't post links to code or messages or images of code or messages, instead, post the text here as part of your question so that we can see it without needing to go off-site. That simplifies the effort of the people who you're asking to help you, as well as helping people stay safe from the potential of misleading or spam links. – Davy M Nov 30 '17 at 02:32
  • @DavyM explain in great detail, you should search your mistake and ask again on SO! – Frank AK Nov 30 '17 at 02:35
  • already used the command : pip install mysql-python But no useful. – 张元元 Nov 30 '17 at 02:39
  • possible duplicate https://stackoverflow.com/questions/454854/no-module-named-mysqldb – joe Nov 30 '17 at 02:42
  • @Sarit Did you have checks duplicate db command? – 张元元 Nov 30 '17 at 02:48
  • 2
    Possible duplicate of [How to install Python MySQLdb module using pip?](https://stackoverflow.com/questions/25865270/how-to-install-python-mysqldb-module-using-pip) – Gahan Nov 30 '17 at 03:28
  • @Gahan checked with pip list & pip uninstall command. I founded ImportError: No module named MySQLdb issue. – 张元元 Nov 30 '17 at 07:51

0 Answers0