[yt-users] error while installing yt on Mac OSX Lion
Jun-Hwan Choi
jhchoi at pa.uky.edu
Tue May 22 07:11:09 PDT 2012
Hi yt users,
I finally figure out the error.
When we install mercurial-2.0 on OSX, it check the version of xcode.
To make it work I need to set sudo xcode-select -switch
/Applications/Xcode.app/Contents/Developer.
Now yt is installed.
Thank you,
Junhwan
On 05/20/12 22:32, Britton Smith wrote:
> 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
> <mailto: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 <tel:%28859%29%20897-6737> Fax: (859)
> 323-2846 <tel:%28859%29%20323-2846>
> Email: jhchoi at pa.uky.edu <mailto:jhchoi at pa.uky.edu> URL:
> http://www.pa.uky.edu/~jhchoi <http://www.pa.uky.edu/%7Ejhchoi>
> --------------------------------------------------------------
>
>
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org <mailto:yt-users at lists.spacepope.org>
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
>
--
--------------------------------------------------------------
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
--------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20120522/106d6441/attachment.html>
More information about the yt-users
mailing list