[scikit-learn] Fwd: ValueError

Ruchika Nayyar ruchika.work at gmail.com
Wed Jun 1 13:24:35 EDT 2016


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.
--------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-learn/attachments/20160601/ca3d579b/attachment.html>


More information about the scikit-learn mailing list