django_auth_ldap no module named ldap
Question: I am trying to get the django_auth_module working but I don't think I managed
to install it properly.

I downloaded the package and ran setup.py install. Then in my settings.py file
I tried to import the module ldap and it gave me the following error :

    
    
    ImportError: no module named ldap
    

I am working on a CentOS 6 server.

Maybe it has to do with where I should install the module? The folder is in
the directory just above my site folder, but maybe that's wrong...

RESOLVED : Ok, I just needed to install the module python-ldap... problem
solved!


Answer: Install missing module:

    
    
    pip install python-ldap
    

To install python-ldap with pip on Ubuntu: (some libraries are needed)

    
    
    sudo apt-get install python-dev libldap2-dev libsasl2-dev libssl-dev
    

