Saturday 22 June 2019

django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module. Did you install mysqlclient?

MySQL Client wasn't properly configured in your system.

Resolution:
1) Install pymysql
pip install pymysql

2) Then, edit the __init__.py file in your project origin dir
import pymysql
pymysql.install_as_MySQLdb()

No comments:

Post a Comment

Note: only a member of this blog may post a comment.

TypeError: argument of type 'WindowsPath' is not iterable

 Please make to modify settings.py file: DATABASES = { 'default' : { 'ENGINE' : 'django.db.backends.sqlite3&...