[scikit-learn] Fwd: ValueError

STEPHEN D SHANK sshank at temple.edu
Wed Jun 1 14:23:58 EDT 2016


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.

On Wed, Jun 1, 2016 at 2:17 PM, Sebastian Raschka <mail at sebastianraschka.com
> wrote:

> > I think you're using system Python on the Mac.   I'd really strongly
> > recommend against that, because system Python
>
> Yeah, but I think that the system Python doesn’t come with NumPy and SciPy
> installed on a Mac?
> Personally, I am using Conda’s dist., not the system Python
>
> python --version
> Python 3.5.1 :: Continuum Analytics, Inc.
>
>
> > On Jun 1, 2016, at 2:07 PM, Matthew Brett <matthew.brett at gmail.com>
> wrote:
> >
> > Hi,
> >
> > On Wed, Jun 1, 2016 at 11:00 AM, Sebastian Raschka
> > <mail at sebastianraschka.com> wrote:
> >> Sorry,
> >>
> >> $ python -c 'import numpy; print(scipy.__version__)’
> >>
> >> was a type, it should be
> >>
> >> $ python -c 'import scipy; print(scipy.__version__)’
> >>
> >> However, I’d recommend looking at the Issue 6706 as Nelson Liu
> suggested for further debugging (
> https://github.com/scikit-learn/scikit-learn/issues/6706)!
> >>
> >> Like Maniteja suggested, it is likely due to “a mismatch between numpy
> installed and the one scikit-learn is compiled with"
> >
> > I think you're using system Python on the Mac.   I'd really strongly
> > recommend against that, because system Python has its own numpy and
> > scipy, that aren't in the usual places, and this leads to great
> > confusion when you try and upgrade numpy / scipy / matplotilb.  I
> > recommend homebrew Python or Python.org Python instead:
> >
> > https://github.com/MacPython/wiki/wiki/Which-Python
> >
> > Cheers,
> >
> > Matthew
> > _______________________________________________
> > scikit-learn mailing list
> > scikit-learn at python.org
> > https://mail.python.org/mailman/listinfo/scikit-learn
>
> _______________________________________________
> scikit-learn mailing list
> scikit-learn at python.org
> https://mail.python.org/mailman/listinfo/scikit-learn
>



-- 

Stephen D. Shank, Ph. D.
Department of Biology, Center for Computational Genetics and Genomics
Temple University, Philadelphia, PA
BioLife 106F
sshank at temple.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-learn/attachments/20160601/61519745/attachment.html>


More information about the scikit-learn mailing list