[scikit-learn] Fwd: ValueError

STEPHEN D SHANK sshank at temple.edu
Wed Jun 1 14:45:42 EDT 2016


Just to note, anaconda also has it's own method of managing environments:

On Wed, Jun 1, 2016 at 2:43 PM, Andrea Bravi <andrea.bravi at gmail.com> wrote:

>
> Hi guys,
>
>
> I recommend using https://virtualenv.pypa.io
> <https://virtualenv.pypa.io/en/stable/> to solve those issues!
>
>
> Best regards,
>
> Andrea
>
>
> On Wednesday, 1 June 2016, Matthew Brett <matthew.brett at gmail.com> wrote:
>
>> On Wed, Jun 1, 2016 at 11:17 AM, 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?
>>
>> That's the entire problem - system Python has its own private copy of
>> numpy and scipy and matplotlib that are not in the usual sys.path
>> places:
>>
>> $ /usr/bin/python -c 'import numpy; print(numpy.__file__)'
>>
>> /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/__init__.pyc
>>
>> Then, if you try to upgrade them with pip, the new packages are below
>> the private copies in directory precedence, and the effect is that the
>> upgrade is ignored.
>>
>> In effect, system Python is for the system, if you want to own your
>> Python, you need to install another copy for yourself.
>>
>> 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/cdb18009/attachment.html>


More information about the scikit-learn mailing list