title: pandas from mac ports ImportError: No module named io.data
body: <p>I installed pandas on osx 10.9.1 from mac ports via <code>sudo port install py27-pandas</code>.</p>
  
  <p>On trying to run a simple example </p>
  
  <pre><code>from pandas.io.data import DataReader
  from datetime import datetime
  
  goog = DataReader("GOOG",  "yahoo", datetime(2000,1,1), datetime(2012,1,1))
  print goog["Adj Close"]
  </code></pre>
  
  <p>When invoking python in a new terminal window, I get the following error</p>
  
  <pre><code>$ python2.7 pandas.py
  Traceback (most recent call last):
    File "pandas.py", line 1, in &lt;module&gt;
      from pandas.io.data import DataReader
    File "/Users/adm/Documents/Factor/research/pandas.py", line 1, in &lt;module&gt;
      from pandas.io.data import DataReader
  ImportError: No module named io.data
  </code></pre>
  
  <p>Also other <code>pandas</code> modules aren't being imported properly</p>
  
  <pre><code>    from pandas.stats.moments import rolling_std
  ImportError: No module named stats.moments
  </code></pre>
  
  <p>I'm not sure what I'm missing or if this is a bug in <code>macports</code> or <code>pandas</code> or <code>osx</code>.</p>