Reputation: 81
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
Upvotes: 7
Views: 5946
Reputation: 20339
Just to make sure:
Upvotes: 1
Reputation: 2753
@user248237:
I second Keith's suggestion that its probably a 32/64 bit compatibility issue. I ran into the same problem just this week while trying to install a different module. Check the versions of each of your modules and make everything matches. In general, I would stick to the 32 bit versions -- not all modules have official 64 bit support. I uninstalled my 64 bit version of python and replaced it with a 32 bit one, reinstalled the modules, and haven't had any problems since.
Upvotes: 0
Reputation: 1046
Might be a 32-bit vs 64-bit compatibility issue. See: how to install numpy and scipy on OS X?
Despite the title, similar problems can occur with other operating systems if you mix 32-bit and 64-fit versions.
Upvotes: 0