Python Pandas: can’t find numpy.core.multiarray when importing pandas

numpypandaspython

I'm trying to get my code (running in eclipse) to import pandas.

I get the following error: "ImportError: numpy.core.multiarray failed to import"when I try to import pandas. I'm using python2.7, pandas 0.7.1, and numpy 1.5.1

Best Solution

Just to make sure:

  • Did you install pandas from the sources ? Make sure it's using the version of NumPy you want.
  • Did you upgrade NumPy after installing pandas? Make sure to recompile pandas, as there can be some changes in the ABI (but w/ that version of NumPy, I doubt it's the case)
  • Are you calling pandas and/or Numpy from their source directory ? Bad idea, NumPy tends to choke on that.