I am more naive than you ;) I have no clue! Thanks, Ruchika ---------------------------------------- Dr Ruchika Nayyar, Post Doctoral Fellow for ATLAS Collaboration University of Arizona Arizona, USA. --------------------------------------------
On Wed, Jun 1, 2016 at 11:50 AM, Sebastian Raschka < [email protected]> wrote: > Oh that’s interesting, thanks for the info! I have never used the system > Python and didn’t know that it comes with its own NumPy & SciPy; I thought > it was more bare bones (sorry about the naive question, but is this a > recent thing in Yosemite or has it been always like this?) > > > On Jun 1, 2016, at 2:39 PM, Matthew Brett <[email protected]> > wrote: > > > > On Wed, Jun 1, 2016 at 11:17 AM, Sebastian Raschka > > <[email protected]> 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 > > [email protected] > > https://mail.python.org/mailman/listinfo/scikit-learn > > _______________________________________________ > scikit-learn mailing list > [email protected] > https://mail.python.org/mailman/listinfo/scikit-learn >
_______________________________________________ scikit-learn mailing list [email protected] https://mail.python.org/mailman/listinfo/scikit-learn
