title: Failed building wheel for python-ldap (windows) *first stackoverflow ask*
body: <p>I've installed flask, flask_login, and ldap in the virtualenv for my flask package (to authenticate ldap users with the usernames &amp; passwords of the other users at my company). </p>
  
  <p>When I run my flask app, I get "AttributeError: 'module' object has no attribute 'initialize'"</p>
  
  <p>I'm tried "pip install python-ldap"
  but I get a red error (sandwiched between other white text) that reads:
  "Failed building wheel for python-ldap"</p>
  
  <p>I have thoroughly examined these:
  <a href="https://stackoverflow.com/questions/15918188/how-to-install-python-ldap-on-a-python-2-7-virtualenv-on-windows-without-compili">How to install python-ldap on a python 2.7 virtualenv on windows without compiling</a></p>
  
  <p><a href="https://stackoverflow.com/questions/15070063/installing-python-ldap-in-a-virtualenv-on-windows">Installing python-ldap in a virtualenv on Windows</a></p>
  
  <p><a href="https://www.python-ldap.org/docs.html" rel="nofollow noreferrer">https://www.python-ldap.org/docs.html</a></p>
  
  <p><a href="https://www.linuxjournal.com/article/6988?page=0,1" rel="nofollow noreferrer">https://www.linuxjournal.com/article/6988?page=0,1</a></p>
  
  <p>to no avail.
  I've had this error for days now...</p>
  
  <p>(also:</p>
  
  <blockquote>
    <blockquote>
      <blockquote>
        <p>pip install openldap </p>
      </blockquote>
    </blockquote>
  </blockquote>
  
  <p>gives:</p>
  
  <p>Collecting openldap
    Could not find a version that satisfies the requirement openldap (from versions: )
  No matching distribution found for openldap</p>
  
  <p>...(in and outside of my venv) if that information helps)</p>
  
  <p>I had this error last week and after switching work computers, I recreated the virtualenv and installed all of the other packages and dependencies successfully. </p>
  
  <p>my requirements.txt file contains these lines after a line of git stuff:</p>
  
  <p>click==6.7</p>
  
  <p>Flask==0.12.2 </p>
  
  <p>Flask-Login==0.4.0 </p>
  
  <p>itsdangerous==0.24 </p>
  
  <p>Jinja2==2.9.6 </p>
  
  <p>ldap==1.0.2 </p>
  
  <p>ldap3==2.2.4 </p>
  
  <p>MarkupSafe==1.0</p>
  
  <p>pyasn1==0.2.3</p>
  
  <p>Werkzeug==0.12.2</p>
  
  <p>Has anyone successfully installed python-ldap into a flask virtualenv with windows? If so... how?!</p>