Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

9
  • Probably this might help: ruddra.com/posts/install-mysqlclient-macos :) Commented Oct 24, 2019 at 6:17
  • Thanks for the quick response ,but didnt worked, i am able to install mysqlclient on outside of virtual env but inside virtual env getting the same error tried installing MySQL-python==1.2.5 also didnt worked same error Commented Oct 24, 2019 at 6:28
  • can you please remove the virtual env and create a new one, then try again(if possible) Commented Oct 24, 2019 at 6:31
  • i didnt get the error, but when i run the application its throwing the below error raise ImproperlyConfigured("Error loading MySQLdb module: %s" % e) django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: this is MySQLdb version (1, 2, 5, 'final', 1), but _mysql is version (1, 4, 4, 'final', 0) Commented Oct 24, 2019 at 6:45
  • when i checked brew list these much things are there, is it because of anything , mysql mysql-client mysql-connector-c [email protected] openssl [email protected] Commented Oct 24, 2019 at 6:49