熊猫导入错误

时间:2016-01-01 10:26:57

标签: python numpy pandas versioning

我正在尝试安装pandas,但它会引发以下错误:

import pandas
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.7/site-packages/pandas/__init__.py", line 7, in    
<module>
from pandas import hashtable, tslib, lib
File "pandas/src/numpy.pxd", line 157, in init pandas.hashtable 
(pandas/hashtable.c:38262)
ValueError: numpy.dtype has the wrong size, try recompiling

我的熊猫版本是0.17.0 我的NumPy版本是1.9.2

任何人都可以帮我解决上述问题吗?

0 个答案:

没有答案