rrwick / Badread

a long read simulator that can imitate many types of read problems
GNU General Public License v3.0
168 stars 22 forks source link

ModuleNotFoundError: No module named 'edlib' #15

Open snayfach opened 3 years ago

snayfach commented 3 years ago

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

mbhall88 commented 1 year ago

This has been resolved now (https://github.com/bioconda/bioconda-recipes/pull/41633). The latest build version (0.4.0) on bioconda fixes this