ImportError:没有名为hmm的模块

时间:2016-12-19 05:34:55

标签: python jupyter gaussian hmmlearn

我正在尝试在Jupyter上阅读此模块,我收到此错误:

    ---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-4-1a818208e4fd> in <module>()
----> 1 from sklearn.hmm import GaussianHMM
      2 
      3 
      4 def fit_hmm(depth_normed,  # normalised coverage array 
      5             transition_probability,  # probability of state transition

ImportError: No module named hmm

我要做的就是使用此from sklearn.hmm import GaussianHMM

我有这些包裹:

Python >=2.7
numpy >= 1.9.3 
scipy >= 0.16.0 
scikit-learn >= 0.16

我安装了pip3并再次安装了模块,但它不起作用。

0 个答案:

没有答案