Hi Ruchika,
See if any of the suggestions in this issue (
https://github.com/scikit-learn/scikit-learn/issues/6706) help, it seems to
be the same issue. Try reinstalling scikit-learn as well.

Nelson Liu

On Wed, Jun 1, 2016 at 10:33 AM Ruchika Nayyar <[email protected]>
wrote:

>
> Thanks,
> Ruchika
> ----------------------------------------
> Dr Ruchika Nayyar,
> Post Doctoral Fellow for ATLAS Collaboration
> University of Arizona
> Arizona, USA.
> --------------------------------------------
>
> ---------- Forwarded message ----------
> From: <[email protected]>
> Date: Wed, Jun 1, 2016 at 10:23 AM
> Subject: ValueError
> To: [email protected]
>
>
> This list allows posts by subscribers only. Please subscribe at
> https://mail.python.org/mailman/listinfo/scikit-learn to post to the
> list.
>
>
>
> ---------- Forwarded message ----------
> From: Ruchika Nayyar <[email protected]>
> To: [email protected]
> Cc:
> Date: Wed, 1 Jun 2016 10:23:14 -0700
> Subject: ValueError
> Hi
>
> I am new to scikit-learn and while writing a python script to do a simple
> BDT using scikit-learn. I see error when I do this:
>
> from sklearn import datasets
>
>
> Traceback (most recent call last):
>
>   File "bdt.py", line 12, in <module>
>
>     from sklearn import datasets
>
>   File "/Library/Python/2.7/site-packages/sklearn/__init__.py", line 57,
> in <module>
>
>     from .base import clone
>
>   File "/Library/Python/2.7/site-packages/sklearn/base.py", line 11, in
> <module>
>
>     from .utils.fixes import signature
>
>   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
>
>
> I have already tried to uninstall numpy/scipy and pandas. They all are the
> latest and compatible version but something is not right. Can you tell me
> what I am doing wrong?
>
> Thanks,
> Ruchika
> ----------------------------------------
> Dr Ruchika Nayyar,
> Post Doctoral Fellow for ATLAS Collaboration
> University of Arizona
> Arizona, USA.
> --------------------------------------------
>
>
> _______________________________________________
> scikit-learn mailing list
> [email protected]
> https://mail.python.org/mailman/listinfo/scikit-learn
>
_______________________________________________
scikit-learn mailing list
[email protected]
https://mail.python.org/mailman/listinfo/scikit-learn

Reply via email to