rrwick / rrwick/Badread

ModuleNotFoundError: No module named 'edlib'

Open
#15 1 comment 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
302
Forks
25
PR merge metrics
No merged PRs in 30d

Description

I installed the program using: conda install -c bioconda badread -y

But got the error:

Traceback (most recent call last):
File "/global/homes/s/snayfach/.conda/envs/flye/bin/badread", line 10, in
sys.exit(main())
File "/global/homes/s/snayfach/.conda/envs/flye/lib/python3.8/site-packages/badread/main.py", line 33, in main
from .simulate import simulate
File "/global/homes/s/snayfach/.conda/envs/flye/lib/python3.8/site-packages/badread/simulate.py", line 17, in
import edlib
ModuleNotFoundError: No module named 'edlib'

The issue appears to be discussed here

The solution was to run this: conda install python-edlib -y

Would be helpful to future users if you could add this to the bioconda recipe or mention this in the docs.

Thanks,
Stephen

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by checking the Bioconda recipe for Badread and the installation documentation. Reproduce the ModuleNotFoundError after the documented conda install, then verify that the dependency is included in the recipe or that the required python-edlib install is clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system, documentation
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.