mattjj / pyhsmm

MIT License
545 stars 172 forks source link

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

Open rnjv opened 3 years ago

rnjv commented 3 years ago

I have the error:

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

when I run hmm.py from examples.

cwj22 commented 3 years ago

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

These issues helped me:

106 #22

Fionn-Mac-Cumhaill commented 3 years ago

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)