title: Python "cannot import 'ssl' from 'urllib3.util.ssl_'" error
body: <p>I'm trying to set up a Python script to run through a batch file for Windows Task Scheduler and I'm running into an error when running the file.  </p>
  
  <p>The code works in both my Jupyter Notebook and PyCharm, but fails when trying to run through a batch file.</p>
  
  <p>Modules imported within the script:</p>
  
  <pre class="lang-py prettyprint-override"><code>from pyathena import connect
  import pandas as pd
  import numpy as np
  import win32com.client as win32
  import datetime
  from IPython.display import HTML
  </code></pre>
  
  <p>Error Message:</p>
  
  <pre><code>C:\Users\jraines\Desktop&gt;"C:\Users\jraines\AppData\Local\Continuum\anaconda3\python.exe" "C:\Users\jraines\Downloads\Partners Email New.py"
  Traceback (most recent call last):
    File "C:\Users\jraines\Downloads\Partners Email New.py", line 27, in &lt;module&gt;
      region_name='us-east-1')
    File "C:\Users\jraines\AppData\Local\Continuum\anaconda3\lib\site-packages\pyathena\__init__.py", line 54, in connect
      from pyathena.connection import Connection
    File "C:\Users\jraines\AppData\Local\Continuum\anaconda3\lib\site-packages\pyathena\connection.py", line 9, in &lt;module&gt;
      from boto3.session import Session
    File "C:\Users\jraines\AppData\Local\Continuum\anaconda3\lib\site-packages\boto3\__init__.py", line 16, in &lt;module&gt;
      from boto3.session import Session
    File "C:\Users\jraines\AppData\Local\Continuum\anaconda3\lib\site-packages\boto3\session.py", line 17, in &lt;module&gt;
      import botocore.session
    File "C:\Users\jraines\AppData\Local\Continuum\anaconda3\lib\site-packages\botocore\session.py", line 30, in &lt;module&gt;
      import botocore.credentials
    File "C:\Users\jraines\AppData\Local\Continuum\anaconda3\lib\site-packages\botocore\credentials.py", line 42, in &lt;module&gt;
      from botocore.utils import InstanceMetadataFetcher, parse_key_val_file
    File "C:\Users\jraines\AppData\Local\Continuum\anaconda3\lib\site-packages\botocore\utils.py", line 31, in &lt;module&gt;
      import botocore.httpsession
    File "C:\Users\jraines\AppData\Local\Continuum\anaconda3\lib\site-packages\botocore\httpsession.py", line 7, in &lt;module&gt;
      from urllib3.util.ssl_ import (
  ImportError: cannot import name 'ssl' from 'urllib3.util.ssl_' (C:\Users\jraines\AppData\Local\Continuum\anaconda3\lib\site-packages\urllib3\util\ssl_.py)
  </code></pre>
  
  <p>When I run my script in my Jupyter Notebook and PyCharm I don't see this error message, but when I run it on the command line I get the error above.  I do have the "C:\Users\jraines\AppData\Local\Continuum\anaconda3\lib\site-packages\urllib3\ssl_.py" file installed as well.</p>