ultimatevocalremover_api icon indicating copy to clipboard operation
ultimatevocalremover_api copied to clipboard

No module named 'samplerate'

Open todochenxi opened this issue 1 year ago • 1 comments

BEFORE POSTING A BUG REPORT Please look through existing issues (both open and closed) to see if it's already been reported or fixed!

Describe the bug A clear and concise description of what the bug is.

No module named 'samplerate'(I found that samplerate does not support linux..., can you select another package)

This error is lazily reported, having originally occured in File /home/developer/anaconda3/envs/roleplay/lib/python3.10/site-packages/librosa-0.10.2.post1-py3.10.egg/librosa/core/audio.py, line 32, in

----> samplerate = lazy.load("samplerate") To Reproduce

Expected behavior I hope it works

Screenshots If applicable, add screenshots to help explain your problem.

Software versions*

todochenxi avatar May 15 '24 02:05 todochenxi

I have solved this problem by compiling the source code

  1. download samplerate source code https://pypi.org/project/samplerate/#files
  2. tar -zxvf samplerate....
  3. cd samplerate pip install -r requirements.txt sudo apt-get install cmake python setup.py install
  4. import samplerate

todochenxi avatar May 15 '24 08:05 todochenxi