[Biopython-dev] how to determine BioPython version number

Mike Williams dmikewilliams at gmail.com
Sun Aug 23 20:14:51 UTC 2009


On Sun, Aug 23, 2009 at 3:58 PM, Peter<biopython at maubp.freeserve.co.uk> wrote:
> You are looking at at old thread, and missed what happened since, try:
>
> import Bio
> Bio.__version__
>
> I think this deserves a FAQ entry in the next release of the tutorial...
>
> The Martel version "trick" was a work around for determining the
> version which worked for a few moderately old versions of Biopython
> (prior to us adding Bio.__version__).
>

Thanks Peter.  I had two problems, looking at an old thread and having
an older versions of BioPython, 1.48 and 1.49 on fedora 10 and 11.
The method you supplied works fine with the 1.51b version I just got
from cvs.

Mike



More information about the Biopython-dev mailing list