Skip to content

ModuleNotFoundError: No module named 'CodonUsage' #33

Description

@tr4ceylee

Greetings! I am on a MacBook Pro with an M2 chip running Sequoia 15.3. I attempted to install PhageBoost using the github installation steps:

conda create -y -n phageboostENV python=3.11
conda activate phageboostENV
git clone https://github.com/ku-cbd/PhageBoost.git
cd PhageBoost/
python setup.py bdist_wheel
pip install --user .
PhageBoost -h

but got this error:

Traceback (most recent call last):
File "/Users/tpeters/.local/bin/PhageBoost", line 5, in
from PhageBoost.main import main
File "/Users/tpeters/.local/lib/python3.11/site-packages/PhageBoost/init.py", line 1, in
from PhageBoost import get_genecalls, get_predictions, get_matches, calc_features, main, bbcache
File "/Users/tpeters/.local/lib/python3.11/site-packages/PhageBoost/calc_features.py", line 23, in
from CodonUsage import CodonAdaptationIndex, CodonsDict
ModuleNotFoundError: No module named 'CodonUsage'

An issue with biopython in the calc_features.py script?

Please advise!

-Tracey Lee

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions