BinPro / CONCOCT

Clustering cONtigs with COverage and ComposiTion
Other
125 stars 48 forks source link

ImportError: cannot import name GMM #252

Closed jolespin closed 5 years ago

jolespin commented 5 years ago

Can you update the GMM to https://scikit-learn.org/stable/modules/generated/sklearn.mixture.GaussianMixture.html so we don't have to downgrade sklearn to 0.19?


(metagenomics_env) -bash-4.1$ concoct --version
Traceback (most recent call last):
  File "/usr/local/devel/ANNOTATION/jespinoz/anaconda3/envs/metagenomics_env/bin/concoct", line 10, in <module>
    from concoct.cluster import cluster
  File "/usr/local/devel/ANNOTATION/jespinoz/anaconda3/envs/metagenomics_env/lib/python2.7/site-packages/concoct/cluster.py", line 4, in <module>
    from sklearn.mixture import GMM
ImportError: cannot import name GMM
jolespin commented 5 years ago

I just realized I'm using version 0.4.0