title: Pandas_datareader not working in script?
body: <p>Why isn't Pandas datareader working when called from script?</p>
  
  <p>If I enter it in the python shell line-by-line (see below) it works as advertised. But when I an run it as a script it crashes; "python3 script.py " (errors below):</p>
  
  <pre><code>import pandas_datareader.data as web
  import datetime
  start = datetime.datetime(2010, 1, 1)
  end = datetime.datetime(2013, 1, 27)
  f = web.DataReader("F", 'yahoo-dividends', start, end)
  f 
  
  
  File "pandas.py", line 1, in &lt;module&gt;
  import pandas_datareader.data as web
  File "/usr/local/lib/python3.4/dist-packages/pandas_datareader-0.2.1-py3.4.egg/pandas_datareader/__init__.py", line 3, in &lt;module&gt;
  from .data import (get_components_yahoo, get_data_famafrench, get_data_google, get_data_yahoo,
  File "/usr/local/lib/python3.4/dist-packages/pandas_datareader-0.2.1-py3.4.egg/pandas_datareader/data.py", line 7, in &lt;module&gt;
  from pandas_datareader.google.daily import GoogleDailyReader
  File "/usr/local/lib/python3.4/dist-packages/pandas_datareader-0.2.1-py3.4.egg/pandas_datareader/google/daily.py", line 1, in &lt;module&gt;
  from pandas_datareader.base import _DailyBaseReader
  File "/usr/local/lib/python3.4/dist-packages/pandas_datareader-0.2.1-py3.4.egg/pandas_datareader/base.py", line 9, in &lt;module&gt;
  from pandas import to_datetime
  File "/home/pi/python/pandas.py", line 1, in &lt;module&gt;
  import pandas_datareader.data as web
  AttributeError: 'module' object has no attribute 'data'
  </code></pre>