<div dir="ltr">I also recommend Anaconda. I have installed on several variants of Linux as well as Mac and Windows, and it usually works right out of the box. Anytime it didn't, the issue was nothing that 5 minutes of Googling couldn't solve. I believe that scikit-learn is usually included, and if it isn't their package manager (conda) has almost always served me well.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 1, 2016 at 2:17 PM, Sebastian Raschka <span dir="ltr"><<a href="mailto:mail@sebastianraschka.com" target="_blank">mail@sebastianraschka.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">> I think you're using system Python on the Mac.   I'd really strongly<br>
> recommend against that, because system Python<br>
<br>
</span>Yeah, but I think that the system Python doesn’t come with NumPy and SciPy installed on a Mac?<br>
Personally, I am using Conda’s dist., not the system Python<br>
<br>
python --version<br>
Python 3.5.1 :: Continuum Analytics, Inc.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
> On Jun 1, 2016, at 2:07 PM, Matthew Brett <<a href="mailto:matthew.brett@gmail.com">matthew.brett@gmail.com</a>> wrote:<br>
><br>
> Hi,<br>
><br>
> On Wed, Jun 1, 2016 at 11:00 AM, Sebastian Raschka<br>
> <<a href="mailto:mail@sebastianraschka.com">mail@sebastianraschka.com</a>> wrote:<br>
>> Sorry,<br>
>><br>
>> $ python -c 'import numpy; print(scipy.__version__)’<br>
>><br>
>> was a type, it should be<br>
>><br>
>> $ python -c 'import scipy; print(scipy.__version__)’<br>
>><br>
>> However, I’d recommend looking at the Issue 6706 as Nelson Liu suggested for further debugging (<a href="https://github.com/scikit-learn/scikit-learn/issues/6706" rel="noreferrer" target="_blank">https://github.com/scikit-learn/scikit-learn/issues/6706</a>)!<br>
>><br>
>> Like Maniteja suggested, it is likely due to “a mismatch between numpy installed and the one scikit-learn is compiled with"<br>
><br>
> I think you're using system Python on the Mac.   I'd really strongly<br>
> recommend against that, because system Python has its own numpy and<br>
> scipy, that aren't in the usual places, and this leads to great<br>
> confusion when you try and upgrade numpy / scipy / matplotilb.  I<br>
> recommend homebrew Python or Python.org Python instead:<br>
><br>
> <a href="https://github.com/MacPython/wiki/wiki/Which-Python" rel="noreferrer" target="_blank">https://github.com/MacPython/wiki/wiki/Which-Python</a><br>
><br>
> Cheers,<br>
><br>
> Matthew<br>
> _______________________________________________<br>
> scikit-learn mailing list<br>
> <a href="mailto:scikit-learn@python.org">scikit-learn@python.org</a><br>
> <a href="https://mail.python.org/mailman/listinfo/scikit-learn" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/scikit-learn</a><br>
<br>
_______________________________________________<br>
scikit-learn mailing list<br>
<a href="mailto:scikit-learn@python.org">scikit-learn@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/scikit-learn" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/scikit-learn</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><div><br>Stephen D. Shank, Ph. D.<br></div>Department of Biology, Center for Computational Genetics and Genomics<br></div>Temple University, Philadelphia, PA<br></div><div>BioLife 106F<br></div><a href="mailto:sshank@temple.edu" target="_blank">sshank@temple.edu</a><br></div></div></div></div></div></div>
</div>