fastdtw icon indicating copy to clipboard operation
fastdtw copied to clipboard

Tests fail: No module named 'fastdtw._fastdtw'

Open yurivict opened this issue 6 years ago • 3 comments

================================================================================== 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 ==========================================================================

yurivict avatar Sep 21 '18 08:09 yurivict

Probably cython was not installed when fastdtw was installed. fastdtw._fastdtw is built only when cython is installed.

slaypni avatar Oct 04 '18 04:10 slaypni

/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 avatar Oct 04 '18 04:10 yurivict

@yurivict 解决了吗

tanghuanxx avatar Dec 12 '23 04:12 tanghuanxx