[Neuroimaging] Mac OSX 10.6.8 problem

Ariel Rokem arokem at gmail.com
Tue Dec 15 18:41:57 EST 2015


Hmm. Maybe this one is the right for you?

https://github.com/kennethreitz/osx-gcc-installer

(See also:
http://stackoverflow.com/questions/4360110/installing-gcc-to-mac-os-x-leopard-without-installing-xcode
)



On Tue, Dec 15, 2015 at 3:35 PM, C.P. Rockel <rockelcp at mcmaster.ca> wrote:

> I tried to update XCode, but it wouldn't let me since my OS is only
> 10.6.8.  :(
>
> I'm not in the mood to update my OS at this point in my PhD...
>
> My XCode is version is 3.2.6, and it doesn't have the Downloads option of
> which you speak.
>
> Are there any substitutes that you can think of?
>
> Cheers,
>
> Conrad
>
> On Tue, Dec 15, 2015 at 6:23 PM, Ariel Rokem <arokem at gmail.com> wrote:
>
>> Sorry for doing this step-by-step, but did you also install the command
>> line developer tools?
>>
>>
>> http://apple.stackexchange.com/questions/48099/gcc-not-found-but-xcode-is-installed
>>
>>  (occurs to me this needs better explanation in our documentation...)
>>
>> On Tue, Dec 15, 2015 at 3:18 PM, C.P. Rockel <rockelcp at mcmaster.ca>
>> wrote:
>>
>>> Hi Ariel,
>>>
>>> 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.
>>>
>>> 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?
>>>
>>> Thanks,
>>>
>>> Conrad
>>>
>>> On Tue, Dec 15, 2015 at 6:08 PM, Ariel Rokem <arokem at gmail.com> wrote:
>>>
>>>> Hi Conrad,
>>>>
>>>> Looks like pip is not managing to find your compiler, though if you
>>>> have installed XCode that should be in place.
>>>>
>>>> What do you get when you type "gcc" at the command line?
>>>>
>>>> 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 (as suggested here:
>>>> http://stackoverflow.com/questions/21193936/getting-errors-when-trying-to-install-matplotlib-and-numpy-using-pip
>>>> ):
>>>>
>>>> export CC=gcc
>>>>
>>>> and then running:
>>>>
>>>> pip install dipy
>>>>
>>>> do the trick for you?
>>>>
>>>> Cheers,
>>>>
>>>> Ariel
>>>>
>>>> On Tue, Dec 15, 2015 at 2:55 PM, C.P. Rockel <rockelcp at mcmaster.ca>
>>>> wrote:
>>>>
>>>>> Hi folks,
>>>>>
>>>>> 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 Anaconda3-2.4.1-MacOSX-x86_64.sh.  I tried "pipping" all of
>>>>> the dependencies as per the Dipy website, and it said that this packages
>>>>> were already 'satisfied'.
>>>>>
>>>>> However, when I then 'pip install dipy', I get errors such as:
>>>>>
>>>>>   SystemError: Cannot locate working compiler
>>>>>
>>>>>   ----------------------------------------
>>>>>   Failed building wheel for dipy
>>>>> Failed to build dipy
>>>>>
>>>>> ... AND...
>>>>>
>>>>> 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
>>>>>
>>>>> As I'm not familiar with the Python environment, I'm not quite sure
>>>>> where to start troubleshooting.
>>>>>
>>>>> Does anyone have any suggestions?
>>>>>
>>>>> Thanks,
>>>>>
>>>>> Conrad
>>>>>
>>>>> _______________________________________________
>>>>> Neuroimaging mailing list
>>>>> Neuroimaging at python.org
>>>>> https://mail.python.org/mailman/listinfo/neuroimaging
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> Neuroimaging mailing list
>>>> Neuroimaging at python.org
>>>> https://mail.python.org/mailman/listinfo/neuroimaging
>>>>
>>>>
>>>
>>> _______________________________________________
>>> Neuroimaging mailing list
>>> Neuroimaging at python.org
>>> https://mail.python.org/mailman/listinfo/neuroimaging
>>>
>>>
>>
>> _______________________________________________
>> Neuroimaging mailing list
>> Neuroimaging at python.org
>> https://mail.python.org/mailman/listinfo/neuroimaging
>>
>>
>
> _______________________________________________
> Neuroimaging mailing list
> Neuroimaging at python.org
> https://mail.python.org/mailman/listinfo/neuroimaging
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/neuroimaging/attachments/20151215/24b88bc8/attachment.html>


More information about the Neuroimaging mailing list