[Biopython] Bio won't import in *.py scripts
Michiel de Hoon
mjldehoon at yahoo.com
Fri Dec 18 08:35:40 UTC 2009
If you start python in the terminal, does it start /usr/bin/python or a different python?
--- On Thu, 12/17/09, Peter Cock <p.j.a.cock at googlemail.com> wrote:
> From: Peter Cock <p.j.a.cock at googlemail.com>
> Subject: Re: [Biopython] Bio won't import in *.py scripts
> To: "Jeff Tomkins" <jtomkins at icr.org>
> Cc: "Biopython at lists.open-bio.org" <Biopython at lists.open-bio.org>
> Date: Thursday, December 17, 2009, 5:59 PM
> 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
>
> _______________________________________________
> Biopython mailing list - Biopython at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/biopython
>
More information about the Biopython
mailing list