Open jrw510 opened 2 years ago
$ hicexplorer --version hicexplorer 3.7.2 $ python --version Python 3.9.13
Seems that a dependency changed its API. Please try to install HiCExplorer with a fixed version number for this dependency:
conda install hicexplorer cleanlab=0.1 -c bioconda -c conda-forge
Best,
Joachim
it works. thank you!
I had similar issue and I solved installing this exact version of cleanlab in my conda env:
conda install -c conda-forge 'cleanlab=1.0.1=pyhd8ed1ab_0'
The same is true when installing HiCExplorer by cloning the repository it's not working with the current version of cleanlab 2.0.0 but when switching to 1.0.1 it's working fine.
Had this same error message but used "conda install hicexplorer cleanlab=0.1 -c bioconda -c conda-forge" as suggested and it worked. Can you update the main page to make it clearer for others?
Thank you so much!
hello, i used conda to install hicexplorer in a new environment, but i can't use hicDetectLoops or hicHyperoptDetectLoops,
$ hicDetectLoops -h Traceback (most recent call last): File "/data/jerry/software/miniconda3/envs/hicexplorer/bin/hicDetectLoops", line 4, in
from hicexplorer.hicDetectLoops import main
File "/data/jerry/software/miniconda3/envs/hicexplorer/lib/python3.9/site-packages/hicexplorer/hicDetectLoops.py", line 22, in
from hicexplorer.lib import cnb
File "/data/jerry/software/miniconda3/envs/hicexplorer/lib/python3.9/site-packages/hicexplorer/lib/init.py", line 2, in
from .tadClassifier import TADClassifier
File "/data/jerry/software/miniconda3/envs/hicexplorer/lib/python3.9/site-packages/hicexplorer/lib/tadClassifier.py", line 41, in
from cleanlab.classification import LearningWithNoisyLabels
ImportError: cannot import name 'LearningWithNoisyLabels' from 'cleanlab.classification' (/data/jerry/software/miniconda3/envs/hicexplorer/lib/python3.9/site-packages/cleanlab/classification.py)
$ hicHyperoptDetectLoops -h Traceback (most recent call last): File "/data/jerry/software/miniconda3/envs/hicexplorer/bin/hicHyperoptDetectLoops", line 4, in
from hicexplorer.hicHyperoptDetectLoops import main
File "/data/jerry/software/miniconda3/envs/hicexplorer/lib/python3.9/site-packages/hicexplorer/hicHyperoptDetectLoops.py", line 11, in
from hicexplorer import hicDetectLoops
File "/data/jerry/software/miniconda3/envs/hicexplorer/lib/python3.9/site-packages/hicexplorer/hicDetectLoops.py", line 22, in
from hicexplorer.lib import cnb
File "/data/jerry/software/miniconda3/envs/hicexplorer/lib/python3.9/site-packages/hicexplorer/lib/init.py", line 2, in
from .tadClassifier import TADClassifier
File "/data/jerry/software/miniconda3/envs/hicexplorer/lib/python3.9/site-packages/hicexplorer/lib/tadClassifier.py", line 41, in
from cleanlab.classification import LearningWithNoisyLabels
ImportError: cannot import name 'LearningWithNoisyLabels' from 'cleanlab.classification' (/data/jerry/software/miniconda3/envs/hicexplorer/lib/python3.9/site-packages/cleanlab/classification.py)
thanks for your help!