[scikit-learn] Fwd: ValueError

Nelson Liu nfliu at uw.edu
Wed Jun 1 13:50:08 EDT 2016


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 <ruchika.work at gmail.com>
wrote:

>
> Thanks,
> Ruchika
> ----------------------------------------
> Dr Ruchika Nayyar,
> Post Doctoral Fellow for ATLAS Collaboration
> University of Arizona
> Arizona, USA.
> --------------------------------------------
>
> ---------- Forwarded message ----------
> From: <scikit-learn-owner at python.org>
> Date: Wed, Jun 1, 2016 at 10:23 AM
> Subject: ValueError
> To: ruchika.work at gmail.com
>
>
> 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 <ruchika.work at gmail.com>
> To: scikit-learn at python.org
> 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
> scikit-learn at python.org
> https://mail.python.org/mailman/listinfo/scikit-learn
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-learn/attachments/20160601/d251ced1/attachment-0001.html>


More information about the scikit-learn mailing list