ubuntu 安装pymssql
You need to install the FreeTDS development package (freetds-dev) before trying to install pymssql with pip:
$ sudo apt-get install freetds-dev
and then, in your virtualenv or wherever you wish to install it:
$ pip install pymssql
注:如果不安装freetds,会报如下错误:
error: command 'gcc' failed with exit status 1