0
votes

After changing database to mysql in Django I cannot migrate. I use Django 3.0.8, Python 3.7,

I have installed mysqlclient, PyMySQL, mysql-connector-python and nothing changed.

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

Do you have any idea guys?

1

1 Answers

0
votes

Go to this site, https://www.lfd.uci.edu/~gohlke/pythonlibs/#mysqlclient, when you download the first one, go to command prompt, and use pip install (wheel file name). if it doesn't work, keep on downloading the others and installing them until no error is being shown. .