title: Python ImportError: cannot import name __init__.py
body: <p>I'm getting this error:</p>
  <pre><code>ImportError: cannot import name 'life_table' from 'cdc_life_tables' (C:\Users\tony\OneDrive\Documents\Retirement\retirement-mc-master\cdc_life_tables\__init__.py)
  </code></pre>
  <p>When I try to run this (<code>retirement_mc.py</code>):</p>
  <pre><code>from cdc_life_tables import life_table
  </code></pre>
  <p><code>__init__.py</code> looks like this</p>
  <pre><code>#!/usr/bin/env python
  from cdc_life_tables import *
  </code></pre>
  <p>and <code>cdc_life_tables.py</code> contains <code>life_table</code> and looks like this:</p>
  <pre><code>def life_table(state_abbrev, demographic_group):
    
      state_abbrev = state_abbrev.upper()
  
      try:
          state = abbrev2name[state_abbrev]
      except KeyError:
          raise ValueError('&quot;{}&quot; not a state abbreviation.'.format(state_abbrev))
  
      state = state.lower().replace(' ', '_')
  
  
      try:
          demographic_group = demographic_group.lower()
          if len(demographic_group) &gt; 2:
             demographic_group = groups_long2short[demographic_group]
      except KeyError:
          raise ValueError('&quot;{}&quot; not a valid .'.format(demographic_group))
          
      s = '{}{}_{}.csv'.format(lt_dir, state, demographic_group)
  
      if os.path.exists(s):
          df = pd.read_csv(s)
      else:
          raise ValueError('{} not a demographic group for {}.'.format(demographic_group, state_abbrev))
  
      return df['qx']
         
  if __name__ == '__main__':
      q = life_table('PA', 'wf')
  </code></pre>
  <p>I'm using Spyder (Python 3.7)</p>