<span class="Apple-style-span" style="border-collapse: collapse; color: rgb(80, 0, 80); ">Hi Tommy,<br><br>When I typed which gcc,nothing happened,I checked the /usr/bin path myself and gcc was not there. In fact, the Xcode folder is at the same level with the usr folder. Is there a way you can install Xcode in the right place? I did not find such a option during the installation process of Xcode.</span><div>
<span class="Apple-style-span" style="border-collapse: collapse; color: rgb(80, 0, 80);"><br class="webkit-block-placeholder"></span></div><div><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(80, 0, 80);">Thanks<br>
</span><div><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(80, 0, 80);"><br class="webkit-block-placeholder"></span></div><div><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(80, 0, 80);">Jie<br>
</span><br><div class="gmail_quote">2008/6/4 Tommy Grav <<a href="mailto:tgrav@mac.com">tgrav@mac.com</a>>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">What happens when you run<br>

<br>
which gcc<br>
<br>
Cheers<br>
  Tommy<div><div></div><div class="Wj3C7c"><br>
<br>
On Jun 4, 2008, at 6:50 PM, Zhaojie Boulder wrote:<br>
<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div class="Wj3C7c">
Hello,<br>
<br>
I am new to Mac and used python in linux before. What I am trying to do is to install "Ipython" and "PyCogent" in Mac OS X.<br>
<br>
For PyCogent, after entering the package path, I typed "python setup.py install". The results are as follows:<br>
<br>
Didn't find Pyrex - will compile from .c files<br>
running install<br>
running build<br>
running build_py<br>
running build_ext<br>
building 'cogent.align._compare' extension<br>
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -Os -Wall -Wstrict-prototypes -DMACOSX -I/usr/include/ffi -DENABLE_DTRACE -arch i386 -arch ppc -pipe -I/Users/zhaojie/Downloads/PyCogent-1.0.1/include -I/System/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -c cogent/align/_compare.c -o build/temp.macosx-10.5-i386-2.5/cogent/align/_compare.o -w<br>

unable to execute gcc: No such file or directory<br>
error: command 'gcc' failed with exit status 1<br>
<br>
After google, I installed Xcode,but it did not help. Also, the Xcode folder is not within "applications" folder, but a separate one parallel with "applications". Dragging Xcode folder into the applications folder did not make a difference, either.<br>

<br>
Hope someone familiar with Mac can help me out.<br>
<br>
Thank you,<br>
<br>
Jie<br></div></div>
--<br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
</blockquote>
<br>
</blockquote></div><br></div></div>