Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import Error - Bio.Alphabet has been removed from Biopython #50

Open
a-r-j opened this issue Oct 27, 2020 · 2 comments
Open

Import Error - Bio.Alphabet has been removed from Biopython #50

a-r-j opened this issue Oct 27, 2020 · 2 comments

Comments

@a-r-j
Copy link

a-r-j commented Oct 27, 2020

ImportError: Bio.Alphabet has been removed from Biopython. In many cases, the alphabet can simply be ignored and removed from scripts. In a few cases, you may need to specify the ``molecule_type`` as an annotation on a SeqRecord for your script to work correctly. Please see https://biopython.org/wiki/Alphabet for more information.

The Biopython version should be specified more tightly in requirements.txt

@jetu20
Copy link

jetu20 commented May 11, 2022

Hi did you solved this issues....I am facing same issues

@a-r-j
Copy link
Author

a-r-j commented May 11, 2022

@jetu20 I'm afraid I don't recall. You can probably just install ssbio & then downgrade the Biopython version.

pip install biopython==1.x.x - I'm not sure what the correct version should be, but it will contain the required Bio.Alphabet submodule.

EDIT: I think biopython 1.77 and below should work: https://github.com/biopython/biopython/blob/master/NEWS.rst#4-september-2020-biopython-178

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants