I’m having difficulty with installing scikit-learn for the first time on a
brand new mac. I have cloned repo on GitHub and followed installation
procedures , however whenever I try to import sklearn the following error comes
up (seems to have something to do with numpy). I have also upgraded my numpy to
latest 1.8 version but the issue persists. Any feedback on this is highly
appreciated.
All the best,
Arman
ValueError Traceback (most recent call last)
<ipython-input-1-6571c68d7dfd> in <module>()
2 import pylab as pl
3 from matplotlib.colors import ListedColormap
----> 4 from sklearn import datasets, neighbors
5
6 n_neighbors = 15
/Users/mac/Downloads/scikit-learn/sklearn/datasets/__init__.py in <module>()
5 """
6
----> 7 from .base import load_diabetes
8 from .base import load_digits
9 from .base import load_files
/Users/mac/Downloads/scikit-learn/sklearn/datasets/base.py in <module>()
23 import numpy as np
24
---> 25 from ..utils import check_random_state
26
27
/Users/mac/Downloads/scikit-learn/sklearn/utils/__init__.py in <module>()
8 import warnings
9
---> 10 from .murmurhash import murmurhash3_32
11 from .validation import (as_float_array, check_arrays, safe_asarray,
12 assert_all_finite, array2d, atleast2d_or_csc,
/Users/mac/Downloads/scikit-learn/numpy.pxd in init sklearn.utils.murmurhash
(sklearn/utils/murmurhash.c:5029)()
ValueError: numpy.dtype has the wrong size, try recompiling
------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience. Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general