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

Import Error - python 3.10.0 #937

Closed
Luke12062 opened this issue Apr 6, 2022 · 4 comments
Closed

Import Error - python 3.10.0 #937

Luke12062 opened this issue Apr 6, 2022 · 4 comments
Assignees
Labels

Comments

@Luke12062
Copy link

Hi, I seem to be getting an import error when trying to use tsfresh after pip installing to python 3.10.0.
I have attached a screenshot of the issue.
image
tsfresh version is 0.19.0
numpy version is 1.21.5

@Luke12062 Luke12062 added the bug label Apr 6, 2022
@0liu
Copy link

0liu commented Apr 13, 2022

When trying to upgrade from Python 3.9 to 3.10, the following error happens:

Looking for: ['python=3.10']

conda-forge/linux-64 Using cache
conda-forge/noarch Using cache
Encountered problems while solving:

  • package matrixprofile-1.1.10-py39hce1f21e_0 requires python >=3.9,<3.10.0a0, but none of the providers can be installed

tsfresh depends on matrixprofile, which lacks of Python 3.10 support either, see matrix-profile-foundation/matrixprofile#91. That project was developed by academic researchers and has not been updated for 10 months. It would be better for tsfresh to decouple with this project, or somebody has to contribute to it.

@vanbenschoten
Copy link
Contributor

Co-author of matrixprofile here.

Unfortunately @OliEfr is correct - we haven't been able to update matrixprofile for quite some time. Though we hope to do so in the next 1-2 months, there's no guarantee we'll be able to get to it. So, @nils-braun if this dependency is causing tsfresh to run into substantial issues, I'd recommend swapping it out with the STUMPY library (@seanlaw is the author and can help here). STUMPY is already a tsfresh dependency so it'd be pretty straightforward.

@CyrilLeMat
Copy link

+1 This is a real problem for me.

@kempa-liehr
Copy link
Collaborator

Fixed in https://github.com/blue-yonder/tsfresh/tree/v0.20.0.
Many thanks for your patience and perseverance.

Merry Christmas and a Happy New Year!

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

No branches or pull requests

5 participants