[scikit-learn] Install sklearn into a specific folder to make some changes

Sebastian Raschka mail at sebastianraschka.com
Mon Aug 1 16:09:39 EDT 2016


Hi, 

I would highly recommend you to work with virtual environments here. E.g.,  look into Anaconda/Miniconda (http://conda.pydata.org/miniconda.html, http://conda.pydata.org/docs/using/using.html), which makes this process most convenient in my opinion. Alternatively, I would use Python’s virtualenv (http://docs.python-guide.org/en/latest/dev/virtualenvs/).

Best,
Sebastian



> On Aug 1, 2016, at 3:55 PM, luizfgoncalves at dcc.ufmg.br wrote:
> 
> I'm looking for the best way to install sklearn into a specific folder so
> I can make changes for my work, without worrying about bugging my main
> sklearn installation (as I use the default version for some experiments
> too).
> 
> I tried to clone the git repository and use "python setup.py install", but
> I'm afraid it will change my user installation too.
> 
> Right now, what I want is to edit a file called splitter.pyx (on tree
> folder), compile/install sklearn so it will work with my changes, and test
> it.
> 
> What is the best way to do it without causing problems with my main
> sklearn installation?
> 
> Thanks a lot for your attention
> 
> _______________________________________________
> scikit-learn mailing list
> scikit-learn at python.org
> https://mail.python.org/mailman/listinfo/scikit-learn



More information about the scikit-learn mailing list