0

After installing mysqlclient with 'pipenv install mysqlclient' and attempting to runserver I was getting this error:

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

zdavis
  • 1
  • Does this answer your question? [Error loading MySQLdb Module 'Did you install mysqlclient or MySQL-python?'](https://stackoverflow.com/questions/46902357/error-loading-mysqldb-module-did-you-install-mysqlclient-or-mysql-python) – 0rdinal Nov 05 '21 at 09:48

1 Answers1

0

Fixed by running 'pipenv shell' to activate virtual environment.

zdavis
  • 1