私はGCCのコンパイルエラーを取得しておいてください。Ubuntuのvirtualenvにpython-ldapをインストールするにはどうしたらいいですか?
$ pip install python-ldap
...
compilation terminated.
error: command 'gcc' failed with exit status 1
私はGCCのコンパイルエラーを取得しておいてください。Ubuntuのvirtualenvにpython-ldapをインストールするにはどうしたらいいですか?
$ 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
[Python:python-ldapをインストールできません](http://stackoverflow.com/questions/47684) 46/python-cant-install-python-ldap) – ChillarAnand