[yt-users] error while installing yt on Mac OSX Lion

Britton Smith brittonsmith at gmail.com
Sun May 20 19:32:40 PDT 2012


Hi Jun-Hwan,

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.

Britton

On Mon, May 21, 2012 at 4:05 AM, Jun-Hwan Choi <jhchoi at pa.uky.edu> wrote:

> Hi yt users,
>
> I try to install yt in Mac OS lion and encounter failure.
> The yt_install.log shows following message at the end of log:
> .......
> running install_egg_info
> Writing
> /Users/jhchoi/common/lib/python2.7/lib-dynload/Python-2.7.2-py2.7.egg-info
> if test -f /Users/jhchoi/common/bin/python -o -h
> /Users/jhchoi/common/bin/python; \
>         then rm -f /Users/jhchoi/common/bin/python; \
>         else true; \
>         fi
> (cd /Users/jhchoi/common/bin; ln python2.7 python)
> rm -f /Users/jhchoi/common/bin/python-config
> (cd /Users/jhchoi/common/bin; ln -s python2.7-config python-config)
> test -d /Users/jhchoi/common/lib/pkgconfig || /usr/bin/install -c -d -m
> 755 /Users/jhchoi/common/lib/pkgconfig
> rm -f /Users/jhchoi/common/lib/pkgconfig/python.pc
> (cd /Users/jhchoi/common/lib/pkgconfig; ln -s python-2.7.pc python.pc)
> /usr/bin/install -c -m 644 ./Misc/python.man \
>                 /Users/jhchoi/common/share/man/man1/python2.7.1
> Traceback (most recent call last):
>   File "setup.py", line 418, in <module>
>     version = runcmd(['/usr/bin/xcodebuild', '-version'],
> {})[0].splitlines()[0]
> IndexError: list index out of range
>
> I use the most updated install_script.sh from yt web page.
> F.Y.I. I install gcc and g++ through Xcode(xcode_432_lion.dmg) w/ command
> line tools (cltools_lion_latemarch12.dmg).
>
> Thanks in advance,
> Junhwan
>
> --
> --------------------------------------------------------------
> Jun-Hwan Choi, Ph.D.
> Department of Physics and Astronomy, University of Kentucky
> Tel: (859) 897-6737        Fax: (859) 323-2846
> Email: jhchoi at pa.uky.edu   URL: http://www.pa.uky.edu/~jhchoi
> --------------------------------------------------------------
>
>
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20120521/9731e2ef/attachment.htm>


More information about the yt-users mailing list