mac 安装 pymssql 报错

报错信息

_mssql.c:346:10: fatal error: 'sqlfront.h' file not found
#include "sqlfront.h"
^~~~~~~~~~~~
1 error generated.
error: command 'clang' failed with exit status 1

解决办法

```
brew unlink freetds 
brew install [email protected] 
brew link –force [email protected] 
pip install pymssql
```

转载于:https://www.cnblogs.com/wangjiale1024/p/10719277.html

你可能感兴趣的:(mac 安装 pymssql 报错)