Thanks !! that's exactly what I need :D
On Sun, Sep 2, 2012 at 5:57 PM, Olivier Grisel <[email protected]>wrote:
> 2012/9/2 Gael Varoquaux <[email protected]>:
> > Hi Marcos,
> >
> > Your problem is that your previous version of scikit-learn was installed
> > using setuptools. Setuptools puts versions that it installs in front of
> > everything else.
> >
> > Pretty much your only solution to avoid this problem, is to remove the
> > folders of the old install.
>
> You should be able to do that in one go with:
>
> $ sudo pip uninstall scikit-learn
>
> Then you can build inplace the compiled extensions of scikit-learn git
> clone with:
>
> $ cd scikit-learn
> $ python setup.py build_ext --inplace
>
> And install a symlink to your dev folder with:
>
> $ sudo pip install -e .
>
> Now whenever you "import sklearn" in a python script it should pick up
> the dev version from your git clone. To update it to get the latest
> changes, just do:
>
> $ git pull origin master
> $ python setup.py build_ext --inplace # only required if ".c" or
> ".cpp" files have been updated
>
> --
> Olivier
> http://twitter.com/ogrisel - http://github.com/ogrisel
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Scikit-learn-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general