fastdtw
fastdtw copied to clipboard
Tests fail: No module named 'fastdtw._fastdtw'
================================================================================== ERRORS ===================================================================================
__________________________________________________________________ ERROR collecting tests/test_fastdtw.py ___________________________________________________________________
ImportError while importing test module '/usr/ports/math/py-fastdtw/work-py36/fastdtw-0.3.2/tests/test_fastdtw.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/test_fastdtw.py:10: in <module>
from fastdtw._fastdtw import fastdtw as fastdtw_c
E ModuleNotFoundError: No module named 'fastdtw._fastdtw'
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
========================================================================== 1 error in 0.27 seconds ==========================================================================
Probably cython was not installed when fastdtw was installed. fastdtw._fastdtw
is built only when cython is installed.
/usr/local/lib/python2.7/site-packages/fastdtw/_fastdtw.so is built and installed, and cython is installed too, but tests are still failing.
@yurivict 解决了吗