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

ANGEL VILLAHOZ-BALETA villahozbale at wisc.edu
Thu Dec 17 15:23:30 EST 2009


Jeff,

Have you added the path of the libraries of Biopython to the shell variable called as PYTHONPATH?

Angel Villahoz-Baleta
Bioinformatics Programmer
University of Wisconsin-Madison

----- Original Message -----
From: Jeff Tomkins <jtomkins at ICR.org>
Date: Thursday, December 17, 2009 1:56 pm
Subject: [Biopython] Bio won't import in *.py scripts
To: "Biopython at lists.open-bio.org" <Biopython at lists.open-bio.org>

> 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.  But when I run a standard python script (#!/usr/bin/python) 
> in the shell it cannot locate Bio.  What setup feature have I missed?
> 
> Thanks, Jeff
> _______________________________________________
> Biopython mailing list  -  Biopython at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/biopython


More information about the Biopython mailing list