mysql-python

'ModuleNotFoundError: No module named 'MySQLdb' In Django

杀马特。学长 韩版系。学妹 提交于 2020-07-07 11:05:54
问题 creating my first module in django, I am using mac Tried steps: 1.installed python 3.6.+ version, 2.cloned git project 3.setup local env, to create a module, trying with command env=dev python3 manage.py startapp supriya_module_inflow; getting error in console : Environment Selected :dev Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/django/db/backends/mysql/base.py", line 24, in <module> import MySQLdb as Database ModuleNotFoundError: No module named 'MySQLdb