如何在Ubuntu的virtualenv中安装python-ldap?
发布时间:2020-08-02 11:48:21 所属栏目:Ubuntu 来源:互联网
导读:我一直在收到GCC编译错误: $pip install python-ldap...compilation terminated.error: command gcc failed with exit status 1 我发现这篇博文有答案: http://blog.mattwoodward.com/2012/10/installing-python-ldap-in-virtualen
我一直在收到GCC编译错误: $pip install python-ldap ... compilation terminated. error: command 'gcc' failed with exit status 1我发现这篇博文有答案: http://blog.mattwoodward.com/2012/10/installing-python-ldap-in-virtualenv-on.html 实质上,您需要确保安装了必要的开发库: sudo apt-get install libsasl2-dev python-dev libldap2-dev libssl-dev (编辑:莱芜站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |