0π
β
You need to install the header files for mysql library.
I donβt know for your distrib, on Ubuntu the package name is libmysqlclient-dev
.
By the way, if starting a new project, I would recommend PostgreSQL over MySQL, because support for MySQL is uncertain at best.
edit: turns out things change, there are now bindings for Python 3
π€spectras
1π
yum info mysql-devel
If itβs not installed, install it
yum install mysql-devel
Now try
sudo pip install mysql-python
π€A J
- [Django]-Django β copy header from admin to all templates
- [Django]-How to modify the app name in Django admin's urls?
- [Django]-How to query for distinct groups of entities which are joined via a self-referential many-to-many table?
- [Django]-Stop celery task from django admin panel
- [Django]-Django β copy header from admin to all templates
- [Django]-.js files not included in page when using Django Form Assets (Media class) with crispy forms
- [Django]-Error in django interactive shell on pydev eclipse
- [Django]-Geodjango distance btw points in two models
- [Django]-Configuration problems in azure website for django app
Source:stackexchange.com