[scikit-learn] Fwd: ValueError

Andrew Howe ahowe42 at gmail.com
Thu Jun 2 02:22:03 EDT 2016


I also strongly recommend the Anaconda distribution.

Andrew

<~~~~~~~~~~~~~~~~~~~~~~~~~~~>
J. Andrew Howe, PhD
Editor-in-Chief, European Journal of Mathematical Sciences
Executive Editor, European Journal of Pure and Applied Mathematics
www.andrewhowe.com
http://www.linkedin.com/in/ahowe42
https://www.researchgate.net/profile/John_Howe12/
I live to learn, so I can learn to live. - me
<~~~~~~~~~~~~~~~~~~~~~~~~~~~>

On Wed, Jun 1, 2016 at 9:23 PM, STEPHEN D SHANK <sshank at temple.edu> wrote:

> 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
>
> _______________________________________________
> 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/20160602/0ae6b48c/attachment-0001.html>


More information about the scikit-learn mailing list