jams icon indicating copy to clipboard operation
jams copied to clipboard

Install fails on Python 3.12: `imp` Module Missing

Open robaerd opened this issue 9 months ago • 5 comments

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'

robaerd avatar Nov 01 '23 19:11 robaerd

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?

bmcfee avatar Nov 01 '23 19:11 bmcfee

Sure, I will give it a try!

robaerd avatar Nov 01 '23 19:11 robaerd

Would be nice if this got fixed soon!

rubencart avatar Apr 04 '24 15:04 rubencart

@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.

bmcfee avatar Apr 04 '24 15:04 bmcfee

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

rubencart avatar Apr 04 '24 15:04 rubencart