title: SSLError("Can't connect to HTTPS URL because the SSL module is not available.") in pip command
body: <p>In my <code>Ubuntu 20.04</code>. I am using two <code>python</code> versions. One of them is <code>Python3.8.2</code> which came with my <code>Ubuntu</code> installation and another one is <code>Python3.7.5</code>. I installed <code>Python3.7.5</code> using <code>update-alternatives</code> alongside the system default version. But now the problem is no <code>pip</code> command is working on <code>Python3.7.5</code>. Although <code>pip</code> is available in this (<code>Python3.7.5</code>) installation and while printing the version it shows the following (using command <code>pip3.7 -V</code>):</p>
  <pre><code>pip 19.2.3 from /usr/local/lib/python3.7/site-packages/pip (python 3.7)
  </code></pre>
  <p>But whenever I try to install a package using it always shows the error mentioned in the title. For example while installing the following package:</p>
  <pre><code>sudo pip3.7 install intel-tensorflow==1.15.2
  </code></pre>
  <p>The following error is thrown:</p>
  <pre><code>WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
  Collecting intel-tensorflow==1.15.2
    WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(&quot;Can't connect to HTTPS URL because the SSL module is not available.&quot;)': /simple/intel-tensorflow/
    WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(&quot;Can't connect to HTTPS URL because the SSL module is not available.&quot;)': /simple/intel-tensorflow/
    WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(&quot;Can't connect to HTTPS URL because the SSL module is not available.&quot;)': /simple/intel-tensorflow/
    WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(&quot;Can't connect to HTTPS URL because the SSL module is not available.&quot;)': /simple/intel-tensorflow/
    WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(&quot;Can't connect to HTTPS URL because the SSL module is not available.&quot;)': /simple/intel-tensorflow/
    Could not fetch URL https://pypi.org/simple/intel-tensorflow/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/intel-tensorflow/ (Caused by SSLError(&quot;Can't connect to HTTPS URL because the SSL module is not available.&quot;)) - skipping
    ERROR: Could not find a version that satisfies the requirement intel-tensorflow==1.15.2 (from versions: none)
  ERROR: No matching distribution found for intel-tensorflow==1.15.2
  WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
  Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError(&quot;Can't connect to HTTPS URL because the SSL module is not available.&quot;)) - skipping
  </code></pre>
  <p>Why this is actually happening? <strong>Again it shows the same error for all pip3.7 installations no matter which module I am going to install</strong>. Also there is no such problems like that whenever I am using the system default python version (<code>Python3.8.2</code>).</p>