On Fri, Jan 6, 2012 at 7:00 AM, Olivier Grisel <olivier.gri...@ensta.org>wrote:
> 2012/1/5 Fabian Pedregosa <fabian.pedreg...@inria.fr>:
> > On Thu, Jan 5, 2012 at 11:30 PM, Gael Varoquaux
> > <gael.varoqu...@normalesup.org> wrote:
> >> On Thu, Jan 05, 2012 at 11:28:45PM +0100, Andreas wrote:
> >>> As I said, I don't have multiple versions and the only
> >>> thing that fails is sklearn.test().
> >>
> >> OK, so let's move the warning there.
> >
> > +1. Raising an exception is also OK and might be better in that case.
> > Contrary to what I said before, sklearn.test() has never worked when
> > run from the module directory.
>
> Sure: as long as nosetests works after a `make inplace` I am fine with
> whatever solution.
>
> Also a neat trick: you can point your system install of sklearn to the
> source folder (your git checkout) with pip in "Editable mode":
>
> $ cd /path/to/scikit-learn
> $ sudo pip install -e .
>
> More details here:
> http://www.pip-installer.org/en/latest/usage.html#edit-mode
Great tip! We should add it to the document. I always find PYTHONPATH
annoying to set.
>
> No need to mess around with PYTHONPATH anymore to make sklearn
> importable from any ipython shell.
> --
> Olivier
> http://twitter.com/ogrisel - http://github.com/ogrisel
>
>
> ------------------------------------------------------------------------------
> Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
> infrastructure or vast IT resources to deliver seamless, secure access to
> virtual desktops. With this all-in-one solution, easily deploy virtual
> desktops for less than the cost of PCs and save 60% on VDI infrastructure
> costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
> _______________________________________________
> Scikit-learn-general mailing list
> Scikit-learn-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>
--
Best Wishes
--------------------------------------------
Meng Xinfan(蒙新泛)
Institute of Computational Linguistics
Department of Computer Science & Technology
School of Electronic Engineering & Computer Science
Peking University
Beijing, 100871
China
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general