title: pandas ImportError: cannot import name hashtable on Mac OS X
body: <p>I recently noticed I had an old version of pandas installed on my machine (0.10). </p>
  
  <p>I tried pip install -U first and got the error. I pip uninstalled, wiped any old directories, pip installed again and still the same error. I even tried building from the git, but whatever I seem to do, I get the same error:</p>
  
  <pre><code>In [8]: import pandas
  cannot import name hashtable
  cannot import name hashtable
  ---------------------------------------------------------------------------
  ImportError                               Traceback (most recent call last)
  &lt;ipython-input-8-d6ac987968b6&gt; in &lt;module&gt;()
  ----&gt; 1 import pandas
  
  /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pandas/__init__.py in &lt;module&gt;()
        5 
        6 try:
  ----&gt; 7     from . import hashtable, tslib, lib
        8 except Exception:  # pragma: no cover
        9     import sys
  
  /Users/kcampbell/pandas/tslib.pyx in init pandas.tslib (pandas/tslib.c:77195)()
  
  /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pandas/pandas/__init__.py in &lt;module&gt;()
        5 
        6 try:
  ----&gt; 7     from . import hashtable, tslib, lib
        8 except Exception:  # pragma: no cover
        9     import sys
  
  ImportError: cannot import name hashtable
  </code></pre>
  
  <p>My numpy, pytz, python-dateutil are all up to date</p>
  
  <pre><code>In [1]: import numpy
  
  In [2]: numpy.__version__
  Out[2]: '1.9.1'
  
  In [3]: import pytz
  
  In [4]: pytz.__version__
  Out[4]: '2014.9'
  
  In [5]: import dateutil
  
  In [6]: dateutil.__version__
  Out[6]: '1.5'
  </code></pre>
  
  <p>When installing from pip, it is spitting out a bunch of stuff during what I guess is the build process. For example, this gets repeated a lot:</p>
  
  <pre><code>In file included from pandas/index.c:235:
  pandas/src/numpy_helper.h:73:10: warning: static variable 'PyArray_API' is used in an inline function with external linkage [-Wstatic-in-inline]
    return PyArray_IsScalar(obj, Datetime);
           ^
  /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:49:35: note: expanded from
        macro 'PyArray_IsScalar'
          (PyObject_TypeCheck(obj, &amp;Py##cls##ArrType_Type))
                                    ^
  &lt;scratch space&gt;:84:1: note: expanded from here
  PyDatetimeArrType_Type
  ^
  /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/include/numpy/__multiarray_api.h:1381:50: note: expanded from
        macro 'PyDatetimeArrType_Type'
  #define PyDatetimeArrType_Type (*(PyTypeObject *)PyArray_API[215])
                                                   ^
  /Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/object.h:439:60: note: expanded from macro 'PyObject_TypeCheck'
      (Py_TYPE(ob) == (tp) || PyType_IsSubtype(Py_TYPE(ob), (tp)))
                                                             ^
  pandas/src/numpy_helper.h:71:1: note: use 'static' to give inline function 'is_datetime64_object' internal linkage
  PANDAS_INLINE int
  ^
  static 
  pandas/src/helper.h:6:27: note: expanded from macro 'PANDAS_INLINE'
      #define PANDAS_INLINE __inline__
                            ^
  /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/include/numpy/__multiarray_api.h:812:15: note: 'PyArray_API'
        declared here
  static void **PyArray_API=NULL;
  </code></pre>
  
  <p>I've run python and ipython from different directories to test the "Can't run from source directory" idea. At this point I'm out of things to try. I do have Cython installed for when I tried to install from the git. 
  I did previously have an anaconda install that I got rid of, so I'm fairly sure I don't have any stray installs lying around somewhere?</p>
  
  <p>I'm at a loss at this point. Any help would be greatly appreciated. Thanks!</p>