Skip to content Skip to sidebar Skip to footer

Virtualenv Python-ldap Install Error

Please don't call this a duplicate. All the answers have so far only 'solved' the problem by installing the ldap and other development packages globally, which doesn't solve the

Solution 1:

The Python package python-ldap requires some other libs (libsasl2-dev, …) which are not python libs (so you can't use pip to install them). So, to use them, you have to install them. Two solutions:

  • use your package manager to install them (ex.: apt-get) ;
  • download their source code and compile them locally (in your virtualenv) (useful for some libs in special cases).

Maybe you can try the second solution?

Post a Comment for "Virtualenv Python-ldap Install Error"