biopython

skip at pobox.com skip at pobox.com
Tue Sep 9 13:12:23 CEST 2008


    >>> from Bio import Entrez
    Traceback (most recent call last):
      File "<stdin>", line 1, in ?
    ImportError: cannot import name Entrez

Can you import Bio, e.g.:

    import Bio

?  If not, check to see where it's installed and make sure the directory
containing Bio (or Bio.py) is in sys.path, either by setting the PYTHONPATH
environment variable before running Python or adding a Bio.pth file to a
directory which is in sys.path so it can be found.

    http://docs.python.org/lib/module-site.html
    http://docs.python.org/tut/node8.html

Skip



More information about the Python-list mailing list