Mac下安装第三方模块报错:‘sqlfront.h‘ file not found的解决办法

1.软件环境:

    mac环境:10.11.6(15G31)

    python: 3.6

2.问题:

    sudo pip install pymssql 后出现下面问题:

    fatal error: ‘sqlfront.h‘ file not found
 
3.解决方案:
    终端执行  brew install freetds@0.91
    终端执行  brew link --force freetds@0.91
    终端执行  sudo pip install pymssql(或则 pycharm直接安装)
原文地址:https://www.cnblogs.com/malcolmfeng/p/6908708.html