[Neuroimaging] Mac OSX 10.6.8 problem
Ariel Rokem
arokem at gmail.com
Tue Dec 15 18:08:27 EST 2015
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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/neuroimaging/attachments/20151215/9fc01157/attachment.html>
More information about the Neuroimaging
mailing list