1
    1. I got this error in python script:
  • from hmmlearn.hmm import
  • GaussianHMM I know I need some libraries thats why I ran following

     git clone git://github.com/hmmlearn/hmmlearn.git  
     pip install -U --user hmmlearn
    

I getting stuck because of this problem. I didn't get any solution, I tried google and many commands but problem still happen.

ArK
  • 20,698
  • 67
  • 109
  • 136
Prajakta Dumbre
  • 231
  • 1
  • 3
  • 8

2 Answers2

1

I solved this by cloning the repository and running:

sudo python setup.py install
Erik Godard
  • 5,930
  • 6
  • 30
  • 33
Prajakta Dumbre
  • 231
  • 1
  • 3
  • 8
0

It seems like according to the git-hub page of the repo it requires specific versions of some packages. Make sure you do a pip upgrade for all those packages

  • Python >=2.6
  • numpy >= 1.9.3
  • scipy >= 0.16.0
  • scikit-learn >= 0.16

then try it will work

to upgrade a package do simple pip install --upgrade <package-name>

armak
  • 560
  • 5
  • 13