我尝试使用安装 pandas easy_install
,它声称它已成功在我的 Python 目录中安装了 pandas 包。
我切换到 IDLE 并尝试import pandas
,它会抛出以下错误 -
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
import pandas
File "C:\Python27\lib\site-packages\pandas-0.12.0-py2.7-win32.egg\pandas\__init__.py", line 6, in <module>
from . import hashtable, tslib, lib
File "numpy.pxd", line 157, in init pandas.hashtable (pandas\hashtable.c:20282)
ValueError: numpy.dtype has the wrong size, try recompiling
请帮我诊断错误。
仅供参考:我已经安装了numpy
软件包