It looks like you don’t have the python mysql package installed, try:
pip install mysql-python
or if not using a virtual environment (on *nix hosts):
sudo pip install mysql-python
More Related Contents:
- How to move a model between two Django apps (Django 1.7)
- How do I get the “id” after INSERT into MySQL database with Python?
- Mac OS X – EnvironmentError: mysql_config not found
- OperationalError: database is locked
- Setting Django up to use MySQL
- Install mysql-python (Windows)
- How to use MySQLdb with Python and Django in OSX 10.6?
- Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock
- multiple databases and multiple models in django
- Bulk insert with SQLAlchemy ORM
- How to run Django’s test database only in memory?
- How to filter (or replace) unicode characters that would take more than 3 bytes in UTF-8?
- How do you join two tables on a foreign key field using django ORM?
- MySQL Improperly Configured Reason: unsafe use of relative path
- How to make/use a custom database function in Django
- How to see the raw SQL queries Django is running?
- A QuerySet by aggregate field value
- Can one use the Django database layer outside of Django?
- sqlite3.OperationalError: unable to open database file
- How do i cast char to integer while querying in django ORM?
- How to make an Inner Join in django?
- Simple Subquery with OuterRef
- Race conditions in django
- What is your favorite solution for managing database migrations in django? [closed]
- Using .aggregate() on a value introduced using .extra(select={…}) in a Django Query?
- Django: Increment blog entry view count by one. Is this efficient?
- django makemigrations and migrate on heroku server don’t create tables
- Django + MySQL on Mac OS 10.6.2 Snow Leopard
- Single Django model, multiple tables?
- What is PyMySQL and how does it differ from MySQLdb? Can it affect Django deployment?