从pyearth导入地球时的ValueError

时间:2014-08-18 14:34:30

标签: python

我正在使用这个包: https://github.com/jcrudy/py-earth

但是当我编译时出现错误:

Traceback (most recent call last):
 File "my_regression.py", line 16, in <module>
  from pyearth import Earth
 File "/Library/Python/2.7/site-packages/pyearth/__init__.py", line 8, in <module>
  from .earth import Earth
 File "/Library/Python/2.7/site-packages/pyearth/earth.py", line 5, in <module>
  from sklearn.utils.validation import assert_all_finite
 File "/Library/Python/2.7/site-packages/sklearn/utils/__init__.py", line 10, in <module>
  from .murmurhash import murmurhash3_32
 File "numpy.pxd", line 155, in init sklearn.utils.murmurhash(sklearn/utils/murmurhash.c:5029)
ValueError: numpy.dtype has the wrong size, try recompiling

任何人都可以提供帮助吗?

0 个答案:

没有答案