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

python 3.12? #63

Open
fosghen opened this issue Jul 17, 2024 · 1 comment
Open

python 3.12? #63

fosghen opened this issue Jul 17, 2024 · 1 comment

Comments

@fosghen
Copy link

fosghen commented Jul 17, 2024

No description provided.

@jensenojs
Copy link

same problem, here is answer gen by copilot

The error message indicates that the installation of the dtw package is failing because it cannot find the imp module. The imp module was deprecated in Python 3.4 and removed in Python 3.12. The dtw package likely has a dependency that still uses the imp module, which is causing the installation to fail.

To resolve this issue, you can try the following steps:

  1. Check for an Updated Version: Ensure that you are trying to install the latest version of the dtw package. The issue might have been fixed in a newer release.

  2. Use an Alternative Package: If the dtw package is not actively maintained, consider using an alternative package that provides similar functionality.

  3. Modify the Package Source: If you need to use this specific package, you might need to download the source code, modify it to replace the usage of the imp module with importlib, and then install it manually.

  4. Contact the Maintainer: Report the issue to the package maintainer so they can update the package to be compatible with Python 3.12.

For now, you can try installing an older version of Python (e.g., Python 3.10 or 3.11) where the imp module is still available, and then install the dtw package.

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

2 participants