title: ImportError: cannot import name HTTPNtlmAuthHandler
body: <p>I am working on some python script  to download some file from some website and I facing </p>
  
  <pre><code>authentication issues HTTPError: 401;Unauthorized.
  </code></pre>
  
  <p>So i changed the HTTP AUTH handler to NTLM and written the following script</p>
  
  <pre><code>import urllib2
  from ntlm import HTTPNtlmAuthHandler
  
  user = 'user'
  password = "pwd"
  url = "http://clientdownload.xxxx.com/Documents/Forms/AllItems.aspx"
  
  passman = urllib2.HTTPPasswordMgrWithDefaultRealm()
  passman.add_password(None, url, user, password)
  
  auth_NTLM = HTTPNtlmAuthHandler.HTTPNtlmAuthHandler(passman)
  opener = urllib2.build_opener(auth_NTLM)
  urllib2.install_opener(opener)
  
  
  response = urllib2.urlopen(url)
  print(response.read())
  </code></pre>
  
  <p>I got the following error</p>
  
  <pre><code>Traceback (most recent call last):
    File "ntlm.py", line 2, in &lt;module&gt;
      from ntlm import HTTPNtlmAuthHandler
    File "ntlm.py", line 2, in &lt;module&gt;
      from ntlm import HTTPNtlmAuthHandler
  
  
  ImportError: cannot import name HTTPNtlmAuthHandler.
  </code></pre>
  
  <p>I observed that my python doesnt have python-ntlm package so did </p>
  
  <pre><code>pip install python-ntlm
  </code></pre>
  
  <p>whereas it didnt worked even after installing.</p>
  
  <p>I hope I am not installing in proper way.</p>
  
  <p>please help me out with the proper pointers to sort out this issue.</p>
  
  <p>thanks in advance,
  venkat</p>