[Biopython] Bio won't import in *.py scripts

Peter Cock p.j.a.cock at googlemail.com
Thu Dec 17 22:59:07 UTC 2009


Hi Jeff,

On Thu, Dec 17, 2009 at 7:43 PM, Jeff Tomkins <jtomkins at icr.org> wrote:
> I installed biopython 1.52 as directed for OS X leopard.
>  Everything imports using the python prompt in the terminal,
> idle, ipython, wing ide, etc.

Good :)

> But when I run a standard python script (#!/usr/bin/python)
> in the shell it cannot locate Bio.  What setup feature have I missed?

That does seem odd. You didn't call your script Bio.py did you?
Could you show us the error message?

Peter




More information about the Biopython mailing list