python-vad icon indicating copy to clipboard operation
python-vad copied to clipboard

Upgrade for librosa 0.10.x

Open postrational opened this issue 2 years ago • 1 comments

Currently installing pyvad causes pip to report that librosa in version 0.10.0 or higher cannot be installed. The older librosa has a dependency on older numpy, so this is starting to become problematic.

ERROR: Cannot install librosa==0.10.1 and pyvad==0.2.0 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested librosa==0.10.1
    pyvad 0.2.0 depends on librosa<0.10.0 and >=0.9.2

Would you be able to check if pyvad can be made compatible with the newer librosa and release a new version to pypi?

postrational avatar Feb 05 '24 09:02 postrational

You can use source code directly for using higher versions of librosa and numpy. You should change this line:

np.lib.pad(resampled, (0, padlen), "constant", constant_values=0) to paded = np.pad(resampled, (0, padlen), "constant", constant_values=0)

EmreOzkose avatar Feb 19 '25 07:02 EmreOzkose