Django manage.py syncdb throwing No module named MySQLdb

后端 未结 5 1052
花落未央
花落未央 2021-02-04 12:59

I am a newbie learning Python/Django...

Am using the following tutorial located here.

Created a mysite database in MySQL 5 running on Snow Leopard.

Edite

5条回答
  •  时光取名叫无心
    2021-02-04 13:36

    Try this if you are using

    linux:- sudo apt-get install python-mysqldb

    windows:- pip install python-mysqldb or easy_install python-mysqldb

    Hope this should work

提交回复
热议问题