2013/5/4 Nigel Legg <nigel.l...@gmail.com>:
> Traceback (most recent call last):
>   File "C:\Python26\churnnltk\scikitkmeans.py", line 5, in <module>
>     from sklearn.datasets import fetch_20newsgroups
>   File "C:\Python26\lib\site-packages\sklearn\datasets\__init__.py", line 7,
> in <module>
>     from .base import load_diabetes
>   File "C:\Python26\lib\site-packages\sklearn\datasets\base.py", line 24, in
> <module>
>     from ..utils import check_random_state
>   File "C:\Python26\lib\site-packages\sklearn\utils\__init__.py", line 9, 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
>
> Does this mean I have the wrong version of numpy for the version of
> scikit-learn I have installed?

Looks like your NumPy and scikit-learn disagree on the sizes of
integers. What is your machine's architecture (x86, x86_64) and how
did you install NumPy and scikit-learn (from source or prepackaged)?

-- 
Lars Buitinck
Scientific programmer, ILPS
University of Amsterdam

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to