Closed mutiann closed 2 years ago
That's strange. The latest librosa test builds pass without issue, and use numba 0.51 and resampy 0.2.2.
Relevant log: https://travis-ci.com/github/librosa/librosa/jobs/483493735#L819
Without a full log and environment dump, this will be impossible for me to debug. My hunch is that there's an old, cached resampy build in your environment that's gumming things up. Have you tried uninstalling and reinstalling resampy after upgrading numba?
The exception is thrown from numba when launching resample_f (which is a JIT decorated function). I actually tried re-installing resampy but it doesn't help. I will upload some dump when I reproduce the issue.
@mutiann any update on this?
When using resampy 0.2.2 with numba 0.51 or 0.52, error of "TypeError: 'NoneType' object is not callable" will randomly and occasionally occur inside resample_f when calling resampy.resample. It works if I downgrade to numba 0.39.