[Biopython] installing biopython on mac os x 10.6

Peter Cock p.j.a.cock at googlemail.com
Fri May 20 05:40:16 EDT 2011


On Fri, May 20, 2011 at 10:33 AM, Fatih Keles <fkelesh at gmail.com> wrote:
> Hi,
>
> I was trying to install Biopython on mac os x 10.6 using X11. However,
> It gives this error :
> """
>
> running install
> running build
> running build_py
> running build_ext
> building 'Bio.cpairwise2' extension
> gcc-4.0 -fno-strict-aliasing -fno-common -dynamic -arch ppc -arch i386
> -g -O2 -DNDEBUG -g -O3 -IBio
> -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
> -c Bio/cpairwise2module.c -o
> build/temp.macosx-10.3-fat-2.7/Bio/cpairwise2module.o
> unable to execute gcc-4.0: No such file or directory
> error: command 'gcc-4.0' failed with exit status 1
> """
>
> I couldn't find the problem. I would be happy if you help me.
>
> Thanks,
>
> keles

Have you installed Apple X Code, the development suite that
comes with Apple's version of gcc (C compiler)? What we say
on the download page of the wiki is:

>> For Mac OS X, we recommend installing from source (see below).
>> You will need to have installed Apple's XCode tools including the
>> optional 10.4 SDK (check the option for 10.4 support when
>> installing Xcode tools).

Peter


More information about the Biopython mailing list