Hello,<div><br class="webkit-block-placeholder"></div><div>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.</div><div><br class="webkit-block-placeholder">
</div><div>For PyCogent, after entering the package path, I typed "python setup.py install". The results are as follows:</div><div><br class="webkit-block-placeholder"></div><div><div>Didn't find Pyrex - will compile from .c files</div>
<div>running install</div><div>running build</div><div>running build_py</div><div>running build_ext</div><div>building 'cogent.align._compare' extension</div><div>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</div>
<div>unable to execute gcc: No such file or directory</div><div>error: command 'gcc' failed with exit status 1</div><div><br class="webkit-block-placeholder"></div><div>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.</div>
</div><div><br class="webkit-block-placeholder"></div><div>Hope someone familiar with Mac can help me out.</div><div><br class="webkit-block-placeholder"></div><div>Thank you,</div><div><br></div><div>Jie</div>