ubuntu下安装xlrd模块,Mysqldb模块
Python中安装xlrd模块
ubuntuserver上安装Mysqldb:
sudo apt-get install python-mysqldb
成功安装,但是import MySQLdb 提示找不到此模块
sudo apt-get source python-mysqldb,想编译一下,总也不成功,总报错,预计是库不全,
sudo apt-get install python-all-dev
sudo apt-get install libmysqlclient15-dev
sudo apt-get install zlib1g-dev