<div dir="ltr"><div><div><div><div>Hi Ariel,<br><br></div>when I type 'gcc' I get "command not found". The rest of the commands did nothing, and I got a similar error when trying to pip install dipy.<br><br></div>I know I have XCode, because I am looking at its icon on my doc. Hmmm, any chance that I don't have the right XCode? How can I test this?<br><br></div>Thanks,<br><br></div>Conrad<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 15, 2015 at 6:08 PM, Ariel Rokem <span dir="ltr"><<a href="mailto:arokem@gmail.com" target="_blank">arokem@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Conrad,<div class="gmail_extra"><br></div><div class="gmail_extra">Looks like pip is not managing to find your compiler, though if you have installed XCode that should be in place. </div><div class="gmail_extra"><br></div><div class="gmail_extra">What do you get when you type "gcc" at the command line?</div><div class="gmail_extra"><br></div><div class="gmail_extra">Assuming that indicates that the shell can find your compiler -- you should get a message indicating that the compiler couldn't find any input files, or something to that nature -- does typing <span style="color:rgb(34,36,38);font-family:Arial,'Helvetica Neue',Helvetica,sans-serif;line-height:19.5px">(as suggested here: </span><font face="Arial, Helvetica Neue, Helvetica, sans-serif" color="#222426"><span style="line-height:19.5px"><a href="http://stackoverflow.com/questions/21193936/getting-errors-when-trying-to-install-matplotlib-and-numpy-using-pip" target="_blank">http://stackoverflow.com/questions/21193936/getting-errors-when-trying-to-install-matplotlib-and-numpy-using-pip</a></span></font><span style="color:rgb(34,36,38);font-family:Arial,'Helvetica Neue',Helvetica,sans-serif;line-height:19.5px">)</span>: </div><div class="gmail_extra"><br></div><div class="gmail_extra"><span style="color:rgb(34,36,38);font-family:Arial,'Helvetica Neue',Helvetica,sans-serif;line-height:19.5px">export CC=gcc</span><br></div><div class="gmail_extra"><span style="color:rgb(34,36,38);font-family:Arial,'Helvetica Neue',Helvetica,sans-serif;line-height:19.5px"><br></span></div><div class="gmail_extra"><span style="color:rgb(34,36,38);font-family:Arial,'Helvetica Neue',Helvetica,sans-serif;line-height:19.5px">and then running: </span></div><div class="gmail_extra"><span style="color:rgb(34,36,38);font-family:Arial,'Helvetica Neue',Helvetica,sans-serif;line-height:19.5px"><br></span></div><div class="gmail_extra"><span style="color:rgb(34,36,38);font-family:Arial,'Helvetica Neue',Helvetica,sans-serif;line-height:19.5px">pip install dipy</span></div><div class="gmail_extra"><span style="color:rgb(34,36,38);font-family:Arial,'Helvetica Neue',Helvetica,sans-serif;line-height:19.5px"><br></span></div><div class="gmail_extra">do the trick for you? <br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Cheers, </div><div class="gmail_extra"><br></div><div class="gmail_extra">Ariel</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 15, 2015 at 2:55 PM, C.P. Rockel <span dir="ltr"><<a href="mailto:rockelcp@mcmaster.ca" target="_blank">rockelcp@mcmaster.ca</a>></span> wrote:<br><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"><div dir="ltr"><div><div><div><div><div><div><div>Hi folks,<br><br></div>I am brand new to Python, and I am having difficulties installing Dipy onto my Mac (OSX 10.6.8). I already had X-code, and I just downloaded and set up <a href="http://Anaconda3-2.4.1-MacOSX-x86_64.sh" target="_blank">Anaconda3-2.4.1-MacOSX-x86_64.sh</a>. I tried "pipping" all of the dependencies as per the Dipy website, and it said that this packages were already 'satisfied'.<br><br></div>However, when I then 'pip install dipy', I get errors such as:<br><br> SystemError: Cannot locate working compiler<br> <br> ----------------------------------------<br> Failed building wheel for dipy<br>Failed to build dipy<br><br></div>... AND...<br><br>Command "/Applications/anaconda3/bin/python3 -c "import setuptools, tokenize;__file__='/private/var/folders/5p/5pdhhqwBGJCf2rrSB7PRn++++TQ/-Tmp-/pip-build-4zbiedwj/dipy/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/5p/5pdhhqwBGJCf2rrSB7PRn++++TQ/-Tmp-/pip-l7x7k8y9-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/5p/5pdhhqwBGJCf2rrSB7PRn++++TQ/-Tmp-/pip-build-4zbiedwj/dipy<br><br></div>As I'm not familiar with the Python environment, I'm not quite sure where to start troubleshooting.<br><br></div>Does anyone have any suggestions?<br><br></div>Thanks,<br><br></div>Conrad<br></div>
<br>_______________________________________________<br>
Neuroimaging mailing list<br>
<a href="mailto:Neuroimaging@python.org" target="_blank">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>
<br></blockquote></div><br></div></div>
<br>_______________________________________________<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>
<br></blockquote></div><br></div>