我想在mac终端上使用scikit-learn包。但是,我在执行示例程序时遇到错误。示例程序的链接。 http://scikit-learn.org/stable/auto_examples/cluster/plot_dbscan.html#example-cluster-plot-dbscan-py
Traceback (most recent call last):
File "plot_dbscan.py", line 14, in <module>
from sklearn.cluster import DBSCAN
File "/Library/Python/2.7/site-packages/sklearn/cluster/__init__.py", line 6, in <module>
from .spectral import spectral_clustering, SpectralClustering
File "/Library/Python/2.7/site-packages/sklearn/cluster/spectral.py", line 13, in <module>
from ..utils import check_random_state, as_float_array
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