You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,I have encountered such a problem when using tsfresh.
When I use the IDE for development, everything works fine. But then I need to package tsfresh into a runnable exe file using cx Freeze's setup. The code is:
python setup.py instsall
After packing, this error occurs: ImportError: cannot import name 'initialize' from partially initialized module 'numba.cuda' (most likely due to a circular import)
Looking through the source code for the project, I found that the problem was caused by the import stumpy of feature_calculators.py in the feature_extraction folder. Once I commented out its functions and imports, the problem was solved.
Environment:
Python version: 3.8
Operating System: Windows
tsfresh version: 0.20.3
Install method (conda, pip, source):
numba version: 0.58.1
The text was updated successfully, but these errors were encountered:
Hello @mh8859!
Thank you very much for the bug report. I do not know cx freeze, but from your description it seems it might be related to the stumpy package, which is also just a dependency for tsfresh. Have you tried contacting the stumpy developers on this issue? I think, unfortunately, that there is not much that we can do on our side.
The problem:
Hello,I have encountered such a problem when using tsfresh.
When I use the IDE for development, everything works fine. But then I need to package tsfresh into a runnable exe file using cx Freeze's setup. The code is:
python setup.py instsall
After packing, this error occurs:
ImportError: cannot import name 'initialize' from partially initialized module 'numba.cuda' (most likely due to a circular import)
Looking through the source code for the project, I found that the problem was caused by the import stumpy of feature_calculators.py in the feature_extraction folder. Once I commented out its functions and imports, the problem was solved.
Environment:
The text was updated successfully, but these errors were encountered: