Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • anushavarma
    Junior Member
    • Oct 2014
    • 4

    #1

    Unable to install biopython on windows properly

    Hi,

    I tried installing biopython 1.64 on my windows computer. Python version I use is - 3.3.4. I installed numpy1.8.2 too. When I check how they are working(according to the installation pdf obtained from the biopython site) it gives me the following errors. How can this be solved?

    >>> import Bio
    >>> print(Bio._version_)
    Traceback (most recent call last):
    File "<pyshell#1>", line 1, in <module>
    print(Bio._version_)
    AttributeError: 'module' object has no attribute '_version_'
    >>> from Numeric import *
    Traceback (most recent call last):
    File "<pyshell#2>", line 1, in <module>
    from Numeric import *
    ImportError: No module named 'Numeric'
    >>> from Bio.Seq import Seq
    >>> from Bio.Alphabet.IUPAC import unambiguous_dna
    >>> new_seq = Seq('GATCAGAAG', unambiguous_dna)
    >>> new_seq[0:2]
    Seq('GA', IUPACUnambiguousDNA())
    >>> from Bio import Translate
    Traceback (most recent call last):
    File "<pyshell#7>", line 1, in <module>
    from Bio import Translate
    ImportError: cannot import name Translate
    >>>
  • blancha
    Senior Member
    • May 2013
    • 367

    #2
    Funnily enough, you installed Biopython correctly but your attempts to test your installation are incorrect.

    import Bio
    >>> print(Bio._version_)

    You must put double underscores instead of single underscores.
    Demonstration.

    >>> import Bio
    >>> print(Bio._version_)
    Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    AttributeError: 'module' object has no attribute '_version_'
    >>> print(Bio.__version__)
    1.64
    >>>

    ####

    The 2 other modules you are trying to use are deprecated.

    Module Numeric
    "There is a module called Numeric, but it's been deprecated for years in favour of numpy. You probably want to update your code to use numpy instead."
    http://stackoverflow.com/questions/8...-named-numeric

    Module Translate
    "This module is now deprecated, and will be removed in a future release of Biopython."

    Comment

    • anushavarma
      Junior Member
      • Oct 2014
      • 4

      #3
      Hey, thank you !

      Comment

      • maubp
        Peter (Biopython etc)
        • Jul 2009
        • 1544

        #4
        Hi anushavarma, thanks for the feedback. Perhaps there is some out of date documentation which we've overlooked - what were you reading which suggested testing a Biopython install with these commands in Python?

        Code:
        from Numeric import *
        from Bio import Translate
        The double underscore for checking the version can be hard to read so I've tried to clarify that for the next Biopython release:
        Official git repository for Biopython (originally converted from CVS) - Clarify the Bio.__version__ FAQ entry · biopython/biopython@e1885a1

        Comment

        Latest Articles

        Collapse

        • SEQadmin2
          Beyond CRISPR/Cas9: Understand, Choose, and Use the Right Genome Editing Tool
          by SEQadmin2



          CRISPR/Cas9 sparked the gene editing revolution for both research and therapeutics.1 But this system still showed severe issues that limited its applications. The most prominent were the heavy reliance on PAM sequences, delivery limitations, double-stranded breaks that prompt unintended edits and cell death, and editing inefficiency (both in targeting and in knock-in reliability).

          Despite this, “CRISPR helped turn genome editing from a specialized technique into
          ...
          07-31-2026, 11:01 AM
        • SEQadmin2
          Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
          by SEQadmin2


          Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

          The systematic characterization of the human proteome has
          ...
          07-20-2026, 11:48 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, 08-13-2026, 12:22 PM
        0 responses
        29 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 08-11-2026, 10:35 AM
        0 responses
        24 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 08-06-2026, 07:41 AM
        0 responses
        38 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 08-03-2026, 10:13 AM
        0 responses
        51 views
        0 reactions
        Last Post SEQadmin2  
        Working...