[Debian-med-packaging] Bug#682198: qiime: Should depend on python >= 2.7.
Charles Plessy
plessy at debian.org
Fri Jul 20 09:29:17 UTC 2012
> On Fri, Jul 20, 2012 at 05:52:49PM +0900, Charles Plessy wrote:
> > Package: qiime
> > Version: 1.5.0-1
> > Severity: important
> >
> > Hi all,
> >
> > it looks like /usr/lib/qiime/bin/subsample_fasta.py needs a python
> > library that is not in python 2.6.
> >
> > $ /usr/lib/qiime/bin/subsample_fasta.py
> > Traceback (most recent call last):
> > File "/usr/lib/qiime/bin/subsample_fasta.py", line 15, in <module>
> > from qiime.util import parse_command_line_parameters, get_options_lookup,\
> > File "/usr/lib/python2.6/dist-packages/qiime/util.py", line 25, in <module>
> > from collections import defaultdict, Counter
> > ImportError: cannot import name Counter
> >
> > After changing its first line to '#!/usr/bin/python2.7', the error dissapeared.
Le Fri, Jul 20, 2012 at 11:13:57AM +0200, Andreas Tille a écrit :
> Hi,
>
> would you mind reporting this upstream?
Hi Andreas,
I do not propose to change the line to '#!/usr/bin/python2.7' as it would
prevent to run qiime on higher versions. I just mentionned it as a proof that
it works with 2.7 and not with 2.6. I suppose that it has to be fixed in
the Debian package, but I am too much of a beginner in Python to propose a
solution.
Cheers,
--
Charles Plessy
Debian Med packaging team,
http://www.debian.org/devel/debian-med
Tsurumi, Kanagawa, Japan
More information about the Debian-med-packaging
mailing list