0

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 Answer 1

0

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. .

Sign up to request clarification or add additional context in comments.

2 Comments

I have already installed mysqlclient and nothing changed.
Then I bet there's a new problem here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.