astropy/astropy — pull request #517 by astrofrog (2012-12-03 12:22:58+00:00)
Title: Installation fails 

I can't get installation using pip to work:

Downloading/unpacking astropy
Downloading astropy-0.1.tar.gz (3.1MB): 3.1MB downloaded
Running setup.py egg_info for package astropy
Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.19.tar.gz
Extracting in /tmp/tmpu4wIPX
Now working in /tmp/tmpu4wIPX/distribute-0.6.19
Building a Distribute egg in /private/tmp/pip-build/astropy
/private/tmp/pip-build/astropy/distribute-0.6.19-py2.7.egg
Traceback (most recent call last):
File "", line 16, in
File "/tmp/pip-build/astropy/setup.py", line 38, in
setup_helpers.adjust_compiler()
File "astropy/setup_helpers.py", line 547, in adjust_compiler
shlex.split(c_compiler) + ['--version'], stdout=subprocess.PIPE)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 679, in __init__
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1228, in _execute_child
OSError: [Errno 2] No such file or directory
Complete output from command python setup.py egg_info:
Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.19.tar.gz

Extracting in /tmp/tmpu4wIPX

Now working in /tmp/tmpu4wIPX/distribute-0.6.19

Building a Distribute egg in /private/tmp/pip-build/astropy

/private/tmp/pip-build/astropy/distribute-0.6.19-py2.7.egg

Traceback (most recent call last):

File "", line 16, in

File "/tmp/pip-build/astropy/setup.py", line 38, in

setup_helpers.adjust_compiler()

File "astropy/setup_helpers.py", line 547, in adjust_compiler

shlex.split(c_compiler) + ['--version'], stdout=subprocess.PIPE)

File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 679, in __init__

File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1228, in _execute_child

OSError: [Errno 2] No such file or directory

----------------------------------------
Command python setup.py egg_info failed with error code 1 in /tmp/pip-build/astropy