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

Install fails on Python 3.12: imp Module Missing #214

Open
robaerd opened this issue Nov 1, 2023 · 5 comments · May be fixed by #215
Open

Install fails on Python 3.12: imp Module Missing #214

robaerd opened this issue Nov 1, 2023 · 5 comments · May be fixed by #215

Comments

@robaerd
Copy link

robaerd commented Nov 1, 2023

The imp package, used in setup.py, is no longer available in Python 3.12 (see docu).

As a result, executing pip install under Python 3.12 fails with:

ModuleNotFoundError: No module named 'imp'
@bmcfee
Copy link
Contributor

bmcfee commented Nov 1, 2023

Thanks for noting this. It should be an easy enough fix, but i don't have the bandwidth to implement it right now. Would you be interested / willing to make a PR for this?

@robaerd
Copy link
Author

robaerd commented Nov 1, 2023

Sure, I will give it a try!

@robaerd robaerd linked a pull request Nov 1, 2023 that will close this issue
@rubencart
Copy link

Would be nice if this got fixed soon!

@bmcfee
Copy link
Contributor

bmcfee commented Apr 4, 2024

@rubencart as noted in the PR #215, this is blocked at the moment by getting a new mir_eval release out. I'm working on that when I can.

@rubencart
Copy link

OK thanks! Can I install from source with the fix for now, or will the mir_eval dependency prevent that from working?

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

Successfully merging a pull request may close this issue.

3 participants