Not able to install modules using pip due to HTTPSHandler error Cygwin
<p>I was not being able to installed any module in the cygwin.</p>

<p>I have already:</p>

<ol>
<li>Removed and reinstalled Python</li>
<li>Removed and reinstalled openssl and openssl-devel</li>
</ol>

<p>However, the problems still happens?</p>

<pre><code> $ pip install iplib
    Traceback (most recent call last):
     File "/usr/bin/pip", line 9, in &lt;module&gt;
      load_entry_point('pip==8.1.2', 'console_scripts', 'pip')()
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 552, i                                                     n load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2672,                                                      in load_entry_point
    return ep.load()
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2345,                                                      in load
    return self.resolve()
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2351,                                                      in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python2.7/site-packages/pip/__init__.py", line 16, in &lt;module&gt;
    from pip.vcs import git, mercurial, subversion, bazaar  # noqa
  File "/usr/lib/python2.7/site-packages/pip/vcs/subversion.py", line 9, in &lt;mod                                                     ule&gt;
    from pip.index import Link
  File "/usr/lib/python2.7/site-packages/pip/index.py", line 30, in &lt;module&gt;
    from pip.wheel import Wheel, wheel_ext
  File "/usr/lib/python2.7/site-packages/pip/wheel.py", line 39, in &lt;module&gt;
    from pip._vendor.distlib.scripts import ScriptMaker
  File "/usr/lib/python2.7/site-packages/pip/_vendor/distlib/scripts.py", line 1                                                     4, in &lt;module&gt;
    from .compat import sysconfig, detect_encoding, ZipFile
  File "/usr/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>If reinstalling <code>virtaulenv</code> doesn't solve your problem, try installing OpenSSl(I do realize you've already reinstalled openssl but doesn't hurt to try it again): </p>

<pre><code>yum install openssl openssl-devel -y
</code></pre>

<p>See <a href="http://www.leonli.co.uk/blog/723/solve-python-importerror-cannot-import-name-httpshandler" rel="nofollow">this</a>.</p>

python cygwin