title: Import ldap in python gives gives "DLL load failed" error
body: <p>I'm using the &quot;import ldap&quot;  in a python code. This is on a windows 10 machine.
  I installed the python-ldap module</p>
  <pre><code>pip3 install python-ldap 
  </code></pre>
  <p>Installed the dependencies based on the instructions at <a href="https://stackoverflow.com/questions/64261546/python-cant-install-packages/64262038#64262038">Python Can&#39;t install packages</a>
  Also resolved all the pip deployment issues based on <a href="https://stackoverflow.com/questions/15070063/installing-python-ldap-in-a-virtualenv-on-windows/58235938#58235938">Installing python-ldap in a virtualenv on Windows</a>
  I'm now getting the following error when executing the import ldap statement. am I missing something here? Any ideas to resolve it?</p>
  <pre><code>thon39\site-packages\ldap\__init__.py&quot;, line 34, in &lt;module&gt;
      import _ldap
  ImportError: DLL load failed while importing _ldap: The specified module could not be found.
  </code></pre>