Tuesday, May 28, 2013

MariaDB + Virtualenv + Python

 

  • Install dependencies
sudo apt-get install libmariadbclient-dev

sudo apt-get build-dep python-mysqldb

  • Inside a virtualenv environment, Install MySQL-python with pip/virtualenv

pip install -E default/ MySQL-python