title: pip3 installs inside virtual environment with python3.6 failing due to ssl module not available
body: <blockquote>
    <p><strong>(py36venv) vagrant@pvagrant-dev-vm:/vagrant/venvs$ pip3 install pep8</strong></p>
    
    <p><em>pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.</em></p>
    
    <p>Collecting pep8   Could not fetch URL
    <a href="https://pypi.python.org/simple/pep8/" rel="noreferrer">https://pypi.python.org/simple/pep8/</a>: There was a problem confirming
    the ssl certificate: Can't connect to HTTPS URL because the SSL module
    is not available. - skipping</p>
    
    <p>Could not find a version that satisfies the requirement pep8 (from
    versions: ) No matching distribution found for pep8</p>
  </blockquote>
  
  <p><strong>Background information</strong> - Trying to move to python 3.6. </p>
  
  <p>Installed python3.6 using the below commands:</p>
  
  <blockquote>
    <p>wget <a href="https://www.python.org/ftp/python/3.6.0/Python-3.6.0.tgz" rel="noreferrer">https://www.python.org/ftp/python/3.6.0/Python-3.6.0.tgz</a></p>
    
    <p>tar -xvf Python-3.6.0.tgz</p>
    
    <p>cd Python-3.6.0<br>
    ./configure --enable-optimizations<br>
    make -j8  sudo
    make altinstall python3.6</p>
  </blockquote>
  
  <p>Created virtualenv by:</p>
  
  <blockquote>
    <p>python3.6 -m venv py36venv</p>
    
    <p>source py36venv/bin/activate</p>
  </blockquote>
  
  <p>Tried to install pep8</p>
  
  <blockquote>
    <p>(py36venv) pip3 install pep8</p>
    
    <p>pip is configured with locations that require TLS/SSL, however the ssl
    module in Python is not available. 
    Collecting pep8  </p>
    
    <p>Could not fetch URL <a href="https://pypi.python.org/simple/pep8/" rel="noreferrer">https://pypi.python.org/simple/pep8/</a>: There was a problem
    confirming the ssl certificate: Can't connect to HTTPS URL because the</p>
    
    <p>SSL module is not available. - skipping   Could not find a version
    that satisfies the requirement pep8 (from versions: ) No matching
    distribution found for pep8</p>
  </blockquote>