slaypni / fastdtw

A Python implementation of FastDTW
MIT License
774 stars 122 forks source link

one question #36

Open zhaojc001 opened 4 years ago

zhaojc001 commented 4 years ago

when i run the following code,it appears the error,please help me: from fastdtw import fastdtw ImportError: cannot import name 'fastdtw'

knakajima3027 commented 4 years ago

Hi, haven't you solved this problem yet? I could it as follows. python version is 3.6.4.

pip install fastdtw
>> from fastdtw import fastdtw
ApocalyVec commented 4 years ago

Are you using a virtual environment or the base interpreter?

If you installed the package through pip, then, in either case, check if fastdtw is in /lib/python/site-packages/.

or use: pip freeze to get the list of installed packages and see if fastdtw is in there.