marl / crepe

CREPE: A Convolutional REpresentation for Pitch Estimation -- pre-trained model (ICASSP 2018)
https://marl.github.io/crepe/
MIT License
1.13k stars 160 forks source link

updated setup.py to use importlib instead of outdated imp #94

Closed oriyonay closed 1 year ago

oriyonay commented 1 year ago

When trying to install crepe via pip, it gives an error stating that the "imp" library will be deprecated by Python 3.12 and will not let users install the package. I changed the "imp" library import in setup.py to the "importlib" ilbrary, and it should work now :)