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

ImportError with biopython 1.79 #9

Open
pmaen opened this issue Aug 25, 2022 · 0 comments
Open

ImportError with biopython 1.79 #9

pmaen opened this issue Aug 25, 2022 · 0 comments

Comments

@pmaen
Copy link

pmaen commented Aug 25, 2022

Just importing the library results in an error:

    from co import Component
  File "/home/paul/.local/lib/python3.10/site-packages/co/__init__.py", line 1, in <module>
    from co.component import Component
  File "/home/paul/.local/lib/python3.10/site-packages/co/component.py", line 5, in <module>
    from Bio import Alphabet
  File "/home/paul/.local/lib/python3.10/site-packages/Bio/Alphabet/__init__.py", line 20, in <module>
    raise ImportError(
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.
pmaen added a commit to pmaen/co that referenced this issue Aug 25, 2022
Bio.Alphabet has been removed from Biopython and prevents the tool from running with up to date systems
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

1 participant