title: Python is returning an AttributeError while importing some modules all of sudden. How do I fix it?
body: <p>My script was running well before. I had a series of crashes on some scripts where I had to fix some things. However, all of a sudden, I can't even run a script and my sublime text shell is displaying this error. I tried chasing down the files in my /Library/...python... files to see if any files got renamed or any part of the module scripts got renamed or something, but have yet to figure it out. What can I try. Or better question, what did I do all of a sudden to cause this, and how would I undo it? It was literally working fine less than an hour ago not to mention all day. </p>
  
  <pre><code> File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/numerictypes.py", line 101, in &lt;module&gt;
      import numbers
    File "/Users/peter/Documents/Trading/Code/AlphaModelVer1/numbers.py", line 2, in &lt;module&gt;
      import Quandl
    File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Quandl/__init__.py", line 11, in &lt;module&gt;
      from .Quandl import (
    File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Quandl/Quandl.py", line 11, in &lt;module&gt;
      import pandas as pd
    File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pandas/__init__.py", line 7, in &lt;module&gt;
      from . import hashtable, tslib, lib
        File "pandas/src/numpy.pxd", line 157, in init pandas.hashtable (pandas/hashtable.c:22984)
      AttributeError: 'module' object has no attribute 'dtype'
  </code></pre>
  
  <p>EDIT: </p>
  
  <p>Thanks to the comments! I had tried re-installing pandas, numpy, and Quandl. But it was all due to the fact I had renamed a helper script numbers.py, when it needed to draw that from within. Hint to all future users: Do not rename python scripts to existing module types. </p>