[Prev] Thread [Next]  |  [Prev] Date [Next]

Re: [BioPython] biopython 1.47 installation fails - and modified how to install instructions on wiki Peter Fri Jul 18 07:02:19 2008

Giovanni Marco Dall'Olio wrote:
> Second, I was trying to install biopython 1.47 using the tar/zip archives on
> http://biopython.org/DIST/biopython-1.47.tar.gz
> There it seems to be a problem with the installation; after running sudo
> python setup.py install, I receive the following error:
> Would you like to build Bio.KDTree ? (y/N)
> running build
> running build_py
> running build_ext
> building 'Bio.clistfns' extension
> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall
> -Wstrict-prototypes -fPIC -I/usr/include/python2.5 -c Bio/clistfnsmodule.c
> -o build/temp.linux-i686-2.5/Bio/clistfnsmodule.o
> Bio/clistfnsmodule.c:10:20: error: Python.h: No such file or directory
> ...
> It seems a file Python.h is missing or mispelled.
> Can you confirm that?

You are probably missing the python header files - you didn't say what
OS you are using but from the path names its some form of Unix I
think.  Under Debian Linux you can use apt-get to install the build
dependencies of the Biopython package, and then install the latest
Biopython from source (specifically I think you are missing the
equivalent of the Debian python-dev package).

BioPython mailing list  -  [EMAIL PROTECTED]