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直接安装)
posted @ 2017-05-26 15:22  MalcolmFeng  阅读(2894)  评论(0编辑  收藏  举报