ubuntu下如何安装MySQLdb?以及torndb?
Old way:
sudo apt-get install libmysqlclient-dev python-dev
pip install MySQL-python
pip install torndo
Better way:
sudo apt-get install python-MySQLdb
sudo pip install torndb
Old way:
sudo apt-get install libmysqlclient-dev python-dev
pip install MySQL-python
pip install torndo
Better way:
sudo apt-get install python-MySQLdb
sudo pip install torndb