Hi Jun-Hwan,<br><br>I also installed yt on OS X Lion with Xcode 4.3.  I found that the compilers and tools that used to come with Xcode now come separately as part of something called "Command Line Tools".  Do you have this as well?  If not, you should be able to find it on the app store.<br>
<br>Britton<br><br><div class="gmail_quote">On Mon, May 21, 2012 at 4:05 AM, Jun-Hwan Choi <span dir="ltr"><<a href="mailto:jhchoi@pa.uky.edu" target="_blank">jhchoi@pa.uky.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi yt users,<br><br><div>I try to install yt in Mac OS lion and encounter failure.</div><div>The yt_install.log shows following message at the end of log:</div><div>.......</div><div><div>running install_egg_info</div><div>

Writing /Users/jhchoi/common/lib/python2.7/lib-dynload/Python-2.7.2-py2.7.egg-info</div><div>if test -f /Users/jhchoi/common/bin/python -o -h /Users/jhchoi/common/bin/python; \</div><div>        then rm -f /Users/jhchoi/common/bin/python; \</div>

<div>        else true; \</div><div>        fi</div><div>(cd /Users/jhchoi/common/bin; ln python2.7 python)</div><div>rm -f /Users/jhchoi/common/bin/python-config</div><div>(cd /Users/jhchoi/common/bin; ln -s python2.7-config python-config)</div>

<div>test -d /Users/jhchoi/common/lib/pkgconfig || /usr/bin/install -c -d -m 755 /Users/jhchoi/common/lib/pkgconfig</div><div>rm -f /Users/jhchoi/common/lib/pkgconfig/python.pc</div><div>(cd /Users/jhchoi/common/lib/pkgconfig; ln -s python-2.7.pc python.pc)</div>

<div>/usr/bin/install -c -m 644 ./Misc/python.man \</div><div>                /Users/jhchoi/common/share/man/man1/python2.7.1</div><div>Traceback (most recent call last):</div><div>  File "setup.py", line 418, in <module></div>

<div>    version = runcmd(['/usr/bin/xcodebuild', '-version'], {})[0].splitlines()[0]</div><div>IndexError: list index out of range</div><div><div><br></div><div>I use the most updated install_script.sh from yt web page.</div>

<div>F.Y.I. I install gcc and g++ through Xcode(xcode_432_lion.dmg) w/ command line tools (cltools_lion_latemarch12.dmg).</div><div><br></div><div>Thanks in advance,</div><div>Junhwan</div><span class="HOEnZb"><font color="#888888"><div>
<br></div>-- <br>--------------------------------------------------------------<br>
Jun-Hwan Choi, Ph.D.<br>Department of Physics and Astronomy, University of Kentucky<br>Tel: <a href="tel:%28859%29%20897-6737" value="+18598976737" target="_blank">(859) 897-6737</a>        Fax: <a href="tel:%28859%29%20323-2846" value="+18593232846" target="_blank">(859) 323-2846</a><br>
Email: <a href="mailto:jhchoi@pa.uky.edu" target="_blank">jhchoi@pa.uky.edu</a>   URL: <a href="http://www.pa.uky.edu/%7Ejhchoi" target="_blank">http://www.pa.uky.edu/~jhchoi</a><br>
--------------------------------------------------------------<br><br><br>
</font></span></div></div>
<br>_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div><br>