[AstroPy] Newbie installation problems

Michael Droettboom mdroe@stsci....
Thu Jan 10 14:51:56 CST 2013


Unfortunately, this is a known bug in the default compiler that ships 
with OS X 10.7 and 10.8.

The workaround is to set the environment variable CC to "clang".

This bug has a built-in workaround in astropy (the successor to pywcs).

Mike

On 01/10/2013 01:13 AM, COLIN NAVIN wrote:
> Hi
>
> I am trying to install some packages as part of the installation 
> process outlined in Installing Scientific Python on the 
> Python4Astronomers site.
>
> I chose the EDP Academic distribution for Mac OSX 10.8 and installed 
> the core Python okay including gcc and gfortran.
>
> When I come to the section about installing and checking additional 
> packages, some install fine (asciitable, pyfits and pyparsing). Others 
> (pywcs, atpy, aplpy, and pyregion) give installation errors. For example
>
>> pip install --upgrade pywcs
>
>
> stops with an error message
>
>> wcslib/C/wcserr.c:140: internal compiler error: Segmentation fault: 11
>>
>> Please submit a full bug report,
>>
>> with preprocessed source if appropriate.
>>
>> See <URL:http://developer.apple.com/bugreporter 
>> <http://developer.apple.com/bugreporter>> for instructions.
>>
>> error: command 'gcc' failed with exit status 1
>
>
> Any help appreciated.
>
> thanks
>
> Colin
>
>
> _______________________________________________
> AstroPy mailing list
> AstroPy@scipy.org
> http://mail.scipy.org/mailman/listinfo/astropy

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/astropy/attachments/20130110/2f22e3f2/attachment.html 


More information about the AstroPy mailing list