Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests fail: No module named 'fastdtw._fastdtw' #23

Open
yurivict opened this issue Sep 21, 2018 · 3 comments
Open

Tests fail: No module named 'fastdtw._fastdtw' #23

yurivict opened this issue Sep 21, 2018 · 3 comments

Comments

@yurivict
Copy link

================================================================================== 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 ==========================================================================
@slaypni
Copy link
Owner

slaypni commented Oct 4, 2018

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

@yurivict
Copy link
Author

yurivict commented Oct 4, 2018

/usr/local/lib/python2.7/site-packages/fastdtw/_fastdtw.so is built and installed, and cython is installed too, but tests are still failing.

@tanghuanxx
Copy link

@yurivict 解决了吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants