NextAudioGen / ultimatevocalremover_api

API for a Vocal Remover that uses Deep Neural Networks.
MIT License
91 stars 10 forks source link

No module named 'samplerate' #12

Closed todochenxi closed 6 months ago

todochenxi commented 6 months ago

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

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