marl / jams

A JSON Annotated Music Specification for Reproducible MIR Research
ISC License
185 stars 26 forks source link

Install fails on Python 3.12: `imp` Module Missing #214

Open robaerd opened 1 year ago

robaerd commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

Sure, I will give it a try!

rubencart commented 7 months ago

Would be nice if this got fixed soon!

bmcfee commented 7 months ago

@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 commented 7 months ago

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