<div dir="ltr"><font face="arial, helvetica, sans-serif">Hi, </font><div><font face="arial, helvetica, sans-serif"><br></font></div><div><div class="gmail_extra"><div class="gmail_quote"><font face="arial, helvetica, sans-serif">On Tue, Dec 15, 2015 at 4:27 PM, Matthew Brett <span dir="ltr"><<a href="mailto:matthew.brett@gmail.com" target="_blank">matthew.brett@gmail.com</a>></span> wrote:<br></font><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><font face="arial, helvetica, sans-serif">Hi,<br>
<span class=""><br>
On Wed, Dec 16, 2015 at 12:18 AM, C.P. Rockel <<a href="mailto:rockelcp@mcmaster.ca">rockelcp@mcmaster.ca</a>> wrote:<br>
> Ok, that didn't seem to quite work either. It seems like there is a crazy<br>
> amount of errors, which I can send you if that would help. I uninstalled<br>
> XCode beforehand, btw.<br>
><br>
> Would I need to re-install Anaconda now that the Kenneth Reitz compiler is<br>
> in place, perhaps?<br>
<br>
</span>Another option is to install Python via Python.org installers or homebrew, then:<br></font></blockquote><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">Interesting. Homebrew + pip might actually be a good way to install Dipy + dependencies on OS X, because it seems that homebrew can also be used to install VTK:</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif"><a href="https://github.com/nipy/dipy/pull/739#issuecomment-152006600">https://github.com/nipy/dipy/pull/739#issuecomment-152006600</a><br></font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><span style="font-family:arial,helvetica,sans-serif">But there are a few wrinkles. For example, tcl-tk needs to be installed separately, and a flag needs to be passed to the Python installation, for tkinter to to work (we use tkinter in some of the newer viz stuff). VTK also needs to be installed separately, through its own incantation. </span></div><div><span style="font-family:arial,helvetica,sans-serif"><br></span></div><div><span style="font-family:arial,helvetica,sans-serif">Here are some instructions that seem to work on my machine:</span></div><div><br></div><div><font face="arial, helvetica, sans-serif">1. Install homebrew from <a href="http://brew.sh/">http://brew.sh/</a></font></div><div><font face="arial, helvetica, sans-serif">2. <span style="line-height:inherit;color:rgb(51,51,51);background-color:transparent">brew install homebrew/dupes/tcl-tk</span> </font></div><div><font face="arial, helvetica, sans-serif">3. brew install python -</font>-with-tcl-tk</div>
<div><font face="arial, helvetica, sans-serif">4. brew install vtk --with-python</font></div><div><font face="arial, helvetica, sans-serif">5. sudo pip install scipy dipy</font></div><div><br></div><div>Maybe we can somehow test this out on the Travis Mac machines, or on the buildbots? If this does generally work well, we can also change the installation instructions in our docs. </div><div><br></div><div>Cheers, </div><div><br></div><div>Ariel </div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif"> </font></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><font face="arial, helvetica, sans-serif">
pip install scipy dipy<br>
<br>
If you use the Python.org installers, you may get away without needing<br>
a compiler - if that isn't true, please let me know what error you<br>
get.<br>
<br>
Cheers,<br>
<br>
Matthew<br>
</font><div class=""><div class="h5"><font face="arial, helvetica, sans-serif">_______________________________________________<br>
Neuroimaging mailing list<br>
<a href="mailto:Neuroimaging@python.org">Neuroimaging@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/neuroimaging" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/neuroimaging</a><br>
</font></div></div></blockquote></div><br></div></div></div>