Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8139115
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T11:43:04+00:00 2026-06-06T11:43:04+00:00

I installed Biopython, but I am unable to get the computer to recognize the

  • 0

I installed Biopython, but I am unable to get the computer to recognize the modules. For example, I create a text file in Komodo like this:

from Bio.Alphabet import IUPAC
from Bio import Seq
my_prot=Seq.Seq("AGTACACTGGT",IUPAC.protein)

and run it in terminal and receive:

Traceback (most recent call last):
  File "bio.py", line 1, in <module>
    from Bio.Alphabet import IUPAC
ImportError: No module named Bio.Alphabet

For the record, I can’t get modules to import in interactive mode either. The documentation states that I can append the module search path by exporting to an environmental variable called PYTHONPATH (like with PATH), but when I type ‘env’ into the terminal, I see no environmental variable of the sort. I’m a biologist–not a computer scientist or programmer. Please bear with my naiveté if this sounds like nonsense.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T11:43:06+00:00Added an answer on June 6, 2026 at 11:43 am

    You must find in which directory situated the module that you needs (Bio) and then add the path to the directory to PYTHONPATH.

    $ export PYTHONPATH=/usr/local/bio-python/
    

    Instead of /usr/local/bio-python/ you must specify the path that you’ve found.

    To find the module you must use something like:

    $ find / -name \*Bio\*
    

    That is just an example. Of course it would be better if you could give some additional information (e.g. where you’ve installed the module and so on).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I installed iplots and rjava packages. When I do this library(iplots), I get the
Installed Magento 1.6.2.0, and noticed that the links are like http://MYSEUPERSTORE.com/ index.php /customer/account/ but
I installed eclipse and the FDT plugin. Now i would like to create a
I installed subclipse in eclipse, but I get an error message Expected format '3'
I'm new to Python and to programming in general. I've installed BioPython in hopes
Installed both SonataMediaBundle, SonataNewsBundle and SonataAdminBundle (and much more but these matter). When posting
Installed rubyinstaller-1.8.7-p358.exe, then tried to install jammit , but the config.gem command isn't being
I installed the packages Android 2.1, Android 2.2 Android 4.0.3, but other than 2.1,
I installed and uninstalled wordpress plugins but they're still showing. Waht might be the
Installed the IronPython tools for VS 2010 but it didn't associate the *.py files

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.