title: python3.6.5 urllib.error.URLError: <urlopen error unknown url type: https>
body: <p>I installed python3.6.5 @ centOS 7 and make without error. but when i test for urlopen it raise error below:</p>
  
  <p><code>e*urllib.error.URLError: &lt;urlopen error unknown url type: https&gt;*</code></p>
  
  <p>I suspect it may related https and i double confirmed i have installed openssl
  ->zlib-dev1</p>
  
  <p>Any advise on it? Thanks</p>
  
  <p><strong>The python3 code:</strong></p>
  
  <pre><code>    #!/usr/bin/env python3
  # -*- coding: utf-8 -*-
  
  import urllib.request
  
  x = urllib.request.urlopen('https://www.google.com/')
  print(x.read())
  </code></pre>
  
  <p><strong>full error:</strong>
  ./url_test.py </p>
  
  <pre><code> Traceback (most recent call last):
    File "./url_test.py", line 6, in &lt;module&gt;
      x = urllib.request.urlopen('https://www.google.com/')
    File "/usr/local/lib/python3.6/urllib/request.py", line 223, in urlopen
      return opener.open(url, data, timeout)
    File "/usr/local/lib/python3.6/urllib/request.py", line 526, in open
      response = self._open(req, data)
    File "/usr/local/lib/python3.6/urllib/request.py", line 549, in _open
      'unknown_open', req)
    File "/usr/local/lib/python3.6/urllib/request.py", line 504, in _ca`enter code here`ll_chain
      result = func(*args)
    File "/usr/local/lib/python3.6/urllib/request.py", line 1388, in unknown_open
      raise URLError('unknown url type: %s' % type)
  urllib.error.URLError: &lt;urlopen error unknown url type: https&gt;
  </code></pre>