Hardware configuration
I'm configuring my new MacBook Air with Apple silicon M1 chip and obviously mac os 11 Big Sur.
Environment
I have installed
With Homebrew:
mysql@5.7
With pyenv@1.2.21
:
python@3.6.5
With pip@20.3.3
:
mysqlclient==1.4.2.post1
The issue
I work with Django framework and the last step for me is to configure the MySQL database on localhost.
MySQL server is running and I can use it from the shell and access it by SequelPro.
When I run python manage.py migrate
I have this problem :
django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module.
Did you install mysqlclient?
The database configuration is: DATABASE environment
Does someone have the same problem?