<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I agree with everyone else – conda environments are specially designed for this situation.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I’ve not used virtualenv myself (</span><a href="http://docs.python-guide.org/en/latest/dev/virtualenvs/">http://docs.python-guide.org/en/latest/dev/virtualenvs/</a>).
I’m an Anaconda user.<span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:red;background:white"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:red;background:white">__________________________________________________________________________________________</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#212121"><br>
</span><b><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D;background:white">Dale Smith</span></b><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D;background:white"> | Macy's Systems and Technology | IFS
eCommerce | Data Science and Capacity Planning<br>
</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D">| 5985 State Bridge Road, Johns Creek, GA 30097 | dale.t.smith@macys.com<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> scikit-learn [mailto:scikit-learn-bounces+dale.t.smith=macys.com@python.org]
<b>On Behalf Of </b>Michael Eickenberg<br>
<b>Sent:</b> Monday, August 1, 2016 4:17 PM<br>
<b>To:</b> Scikit-learn user and developer mailing list<br>
<b>Subject:</b> Re: [scikit-learn] Install sklearn into a specific folder to make some changes<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal"><span style="color:red">⚠ EXT MSG:</span> <o:p></o:p></p>
</div>
<p class="MsoNormal"><br>
<br>
On Monday, August 1, 2016, Andreas Mueller <<a href="mailto:t3kcit@gmail.com">t3kcit@gmail.com</a>> wrote:<o:p></o:p></p>
<p class="MsoNormal">Hi.<br>
The best is probably to use a virtual environment or conda environment specific for this changed version of scikit-learn.<br>
In that environment you could just run an "install" and it would not mess with your other environments.<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">+1!<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<p class="MsoNormal">If you don't want to go that way, you can also do ``python setup.py build_ext -i`` to build inplace and then add this<br>
path to your python path (PYTONPATH environment variable or sys.path.insert in the script or many other ways).<br>
<br>
Best,<br>
Andy<br>
<br>
On 08/01/2016 03:55 PM, <a href="mailto:luizfgoncalves@dcc.ufmg.br">luizfgoncalves@dcc.ufmg.br</a> wrote:<o:p></o:p></p>
<p class="MsoNormal">I'm looking for the best way to install sklearn into a specific folder so<br>
I can make changes for my work, without worrying about bugging my main<br>
sklearn installation (as I use the default version for some experiments<br>
too).<br>
<br>
I tried to clone the git repository and use "python setup.py install", but<br>
I'm afraid it will change my user installation too.<br>
<br>
Right now, what I want is to edit a file called splitter.pyx (on tree<br>
folder), compile/install sklearn so it will work with my changes, and test<br>
it.<br>
<br>
What is the best way to do it without causing problems with my main<br>
sklearn installation?<br>
<br>
Thanks a lot for your attention<br>
<br>
_______________________________________________<br>
scikit-learn mailing list<br>
<a href="mailto:scikit-learn@python.org">scikit-learn@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/scikit-learn" target="_blank">https://mail.python.org/mailman/listinfo/scikit-learn</a><o:p></o:p></p>
<p class="MsoNormal"><br>
_______________________________________________<br>
scikit-learn mailing list<br>
<a href="mailto:scikit-learn@python.org">scikit-learn@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/scikit-learn" target="_blank">https://mail.python.org/mailman/listinfo/scikit-learn</a><o:p></o:p></p>
</blockquote>
<div>
<p class="MsoNormal"><span style="color:red">* This is an EXTERNAL EMAIL. Stop and think before clicking a link or opening attachments.</span>
<o:p></o:p></p>
</div>
</div>
</body>
</html>