can not import pandas in Python 2.7.3

1,903 views
Skip to first unread message

Vigen Isayan

unread,
Apr 24, 2014, 5:18:37 PM4/24/14
to pyd...@googlegroups.com
Hi all,

 I installed pandas 0.13.1 version in my python 2.7.3.
My question is when i try to import pandas in Python 2.7.3 i get the following error messages:

>>>import pandas
cannot import name hashtable
Traceback (most recent call last):
File "<console>", line 1, in <module>
File "C:\Python27\lib\site-packages\pandas\__init__.py", line 6, in <module>
from . import hashtable, tslib, lib
ImportError: cannot import name hashtable

By the way i also have ipython installed and when i try to import pandas (which came with the installation of ipython) in ipython i don't have that problem.

thanks in advance

Joris Van den Bossche

unread,
May 6, 2014, 8:35:49 AM5/6/14
to pyd...@googlegroups.com
A bit late, but is the problem solved?

In case not: how did you install pandas? Did you build the C extensions?

Eg see http://stackoverflow.com/questions/14422976/importing-pandas-shows-importerror-cannot-import-name-hashtable
http://stackoverflow.com/questions/14568070/pandas-installation-on-mac-os-x-importerror-cannot-import-name-hashtable

Op donderdag 24 april 2014 23:18:37 UTC+2 schreef Vigen Isayan:
Reply all
Reply to author
Forward
0 new messages