[Biopython-dev] Re: New: Error in Compiling DNAUtils

Marc Colosimo mcolosimo at mitre.org
Wed Aug 25 11:38:46 EDT 2004


I think a similar problem came up for KDTree package in the setup.py 
file. Does anyone remember how the whole Python2.2 ver Python2.3 
release issue ended? I just checked and 1.30 does build with Python2.2 
and the web site lists python 2.2.

It really is a shame that my newly installed version of Red Hat Linux 
WS comes with python2.2.3 only, whereas my G5 Mac comes with python2.3 
(and Java installed).

Marc


On Aug 25, 2004, at 7:43 AM, f.sohm at whsmithnet.co.uk wrote:

> Hi
> Sorry for the bug. I have never seen this one on linux before, but I 
> have never
> tried it with Python 2.2 either.
> The Restriction package (which DNAUtils is part of) will not work with 
> Python2.2
>
> A fix might be to try to update your Python to version 2.3
> If you update and still get the problem let me know.
> If you don't want or can't update your python, it will need a bit more 
> work.
> You will need to comment out the following lines in the biopython 
> setup.py
> script :
>   lines 437-439 :
>
>       Extension('Bio.Restriction.DNAUtils',
>               ['Bio/Restriction/DNAUtils.c']
>               ),
>
> To comment, put a # in front of them. This will break the Restriction
> package but it would not have worked on Python2.2 anyway.
> Hope this is of some help
> Fred





More information about the Biopython-dev mailing list