On 9/9/08, Beema Shafreen <[EMAIL PROTECTED]> wrote: > I am using Biopython to fetch pumed Id's ,The module i use is (from Bio > import Entrez) > But i am getting this error >>>> from Bio import Entrez > Traceback (most recent call last): > File "<stdin>", line 1, in ? > ImportError: cannot import name Entrez
Looks like is bad installed. It works for me: /home/user/MMC-SD/Kingston/py252/bin> ./python2.5 Python 2.5.2 (r252:60911, Jul 7 2008, 16:11:08) [GCC 3.3.5 (Debian 1:3.3.5-3)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from Bio import Entrez >>> dir(Entrez) ['File', '__builtins__', '__doc__', '__file__', '__name__', '__path__', '_open', 'efetch', 'egquery', 'einfo', 'elink', 'epost', 'esearch', 'espell', 'esummary', 'os', 'query', 'read', 'time', 'urllib'] -- Sebastián Bassi. Diplomado en Ciencia y Tecnología. Vendo isla: http://www.genesdigitales.com/isla What's new in Python 3: http://tinyurl.com/5cd89r Curso Biologia molecular para programadores: http://tinyurl.com/2vv8w6 -- http://mail.python.org/mailman/listinfo/python-list