Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have installed the latest version of Pandas by using the following:

sudo apt-get install python-pandas

but I keep getting the following error message when i try to import into Python:

ImportError: /usr/local/lib/python2.7/dist-packages/pandas-0.7.3-py2.7-linux-i686.egg/pandas/_tseries.so: wrong ELF class: ELFCLASS32

Any suggestions on how to fix this? Do I need to reinstall something? If so how do I do it? I have tried to find how to uninstall Pandas but I cant find it.

share|improve this question
Did you try to install it from source or with pip or some other way also? Any files under /usr/local/lib/python2.7 are not installed by Ubuntu packages. –  mtmiller Jun 16 at 21:44

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.