title: ImportError: cannot import name HTTPSHandler using PIP
body: <p>Facing an HTTPSHandler error while installing python packages using pip, following is the stack trace,</p>
  
  <pre><code>--------desktop:~$ pip install Django==1.3
  Traceback (most recent call last):
    File "/home/env/.genv/bin/pip", line 9, in &lt;module&gt;
      load_entry_point('pip==1.4.1', 'console_scripts', 'pip')()
    File "/home/env/.genv/lib/python2.7/site-packages/pkg_resources.py", line 378, in load_entry_point
      return get_distribution(dist).load_entry_point(group, name)
    File "/home/env/.genv/lib/python2.7/site-packages/pkg_resources.py", line 2566, in load_entry_point
      return ep.load()
    File "/home/env/.genv/lib/python2.7/site-packages/pkg_resources.py", line 2260, in load
      entry = __import__(self.module_name, globals(),globals(), ['__name__'])
    File "/home/env/.genv/lib/python2.7/site-packages/pip/__init__.py", line 10, in &lt;module&gt;
      from pip.util import get_installed_distributions, get_prog
    File "/home/env/.genv/lib/python2.7/site-packages/pip/util.py", line 17, in &lt;module&gt;
      from pip.vendor.distlib import version
    File "/home/env/.genv/lib/python2.7/site-packages/pip/vendor/distlib/version.py", line 13, in &lt;module&gt;
      from .compat import string_types
    File "/home/env/.genv/lib/python2.7/site-packages/pip/vendor/distlib/compat.py", line 31, in &lt;module&gt;
      from urllib2 import (Request, urlopen, URLError, HTTPError,
  ImportError: cannot import name HTTPSHandler
  </code></pre>
  
  <p>I used to edit Modules/setup.dist file and uncomment SSL code lines and rebuilt it, with reference to following thread : <a href="http://forums.opensuse.org/english/get-technical-help-here/applications/488962-opensuse-python-openssl-2.html" rel="noreferrer">http://forums.opensuse.org/english/get-technical-help-here/applications/488962-opensuse-python-openssl-2.html</a></p>