macos high sierra pip install python-ldap

今天升級macos high sierra後要安裝python-ldap 一直出現錯誤 後來參考了 本篇 解決,因為現在macos都是 rootless的所以原來使用 sudo ln - s < the_path_from_above_command >/ usr / include / usr / include 的解法不行必須使用 global - option 的方式
coding and running