ModuleNotFoundError: No module named ‘MySQLdb’

When running migration for a Django application with “python manage.py migrate”, I got the following error message

To fix install

This will require MySQL development package. On the Ubuntu server running MariaDB, I installed packaged libmariadb-dev

Back to Errors

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *