mattjj / pyhsmm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Running examples failed - ModuleNotFoundError: No module named 'pyhsmm.internals.hmm_messages_interface'

rnjv opened this issue · comments

commented

I have the error:

ModuleNotFoundError: No module named 'pyhsmm.internals.hmm_messages_interface'

when I run hmm.py from examples.

I fixed this issue by running python setup.py build_ext --inplace

These issues helped me:
#106 #22

The above solutions didnt work for me, I was switching between this error, an error around future module not being installed and "ImportError: cannot import name 'logsumexp' from 'scipy.misc'"

What worked for me was in a fresh repository to clone pyhsmm via:
git clone https://github.com/mattjj/pyhsmm.git

then install from the cloned source via:

cd pyhsmm/
pip install -e .

(don't forget the dot at the end)