This document will include the author's entire notes on installing and configuring ldap for django.
Create a directory in /opt:
Create a virtualenv in that directory:
Make sure that you also source the directory before running pip commands. i.e.:
source /opt/that …