[AstroPy] Newbie installation problems
mdroe at stsci.edu
Thu Jan 10 15:51:56 EST 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).
On 01/10/2013 01:13 AM, COLIN NAVIN wrote:
> 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.
> AstroPy mailing list
> AstroPy at scipy.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the AstroPy