[Biopython-dev] Installing Bio.Geography

Peter Cock p.j.a.cock at googlemail.com
Tue Jan 3 14:44:03 UTC 2012


On Tue, Jan 3, 2012 at 2:23 PM, JOSE SERGIO HLEAP <sergiohleap at yahoo.com> wrote:
> Thanks for your quick answer Peter... I already went
> trough http://biopython.org/wiki/BioGeography at the Nick Matzke's github. I
> dowloaded the enrire branch in a zip, then build, test and install, using
> the setup... but still does not work. When in a python console I type:
>
>>>> from Bio import Geography
>
> Give me the following taceback:
> ...
> ImportError: cannot import name Geography
>
> ...
>
> am I doing something wrong??
>
> Thanks again for any help you can provide me!
>
> Sergio

Hi again.

My guess is you got the (default) master branch from
Nick's repository, not the Geography branch:
https://github.com/nmatzke/biopython/branches

Try something like this before installing,

git clone https://github.com/nmatzke/biopython.git
cd biopython
git checkout Geography

Peter




More information about the Biopython-dev mailing list