getting this error when i try to upload wav files recorded using audacity OR recorded from command line using arecord
arecord -v -D hw:0 -t wav -f S16_LE -c 2 -r 16000 -C -d 10 card.wav
Error : No module named 'resampy'
Out put of program:
Labels loaded.
load model True
Model loaded.
Labels loaded.
load_species_list_model
Meta model loaded.
read_audio_data
No module named 'resampy'
This error is lazily reported, having originally occured in
File /usr/local/lib/python3.10/dist-packages/librosa/core/audio.py, line 33, in
----> resampy = lazy.load("resampy")
ModuleNotFoundError Traceback (most recent call last)
/usr/local/lib/python3.10/dist-packages/birdnetlib/main.py in read_audio_data(self)
310 try:
--> 311 self.ndarray, rate = librosa.load(
312 self.path, sr=SAMPLE_RATE, mono=True, res_type="kaiser_fast"
5 frames
ModuleNotFoundError: No module named 'resampy'
This error is lazily reported, having originally occured in
File /usr/local/lib/python3.10/dist-packages/librosa/core/audio.py, line 33, in
----> resampy = lazy.load("resampy")
During handling of the above exception, another exception occurred:
AudioFormatError Traceback (most recent call last)
/usr/local/lib/python3.10/dist-packages/birdnetlib/main.py in read_audio_data(self)
321 except BaseException as e:
322 print(e)
--> 323 raise AudioFormatError("Generic audio read error occurred from librosa.")
324
325 self.process_audio_data(rate)
AudioFormatError: Generic audio read error occurred from librosa.
getting this error when i try to upload wav files recorded using audacity OR recorded from command line using arecord
arecord -v -D hw:0 -t wav -f S16_LE -c 2 -r 16000 -C -d 10 card.wav
Error : No module named 'resampy'
Out put of program:
Labels loaded.
load model True
Model loaded.
Labels loaded.
load_species_list_model
Meta model loaded.
read_audio_data
No module named 'resampy'
This error is lazily reported, having originally occured in
File /usr/local/lib/python3.10/dist-packages/librosa/core/audio.py, line 33, in
----> resampy = lazy.load("resampy")
ModuleNotFoundError Traceback (most recent call last)
/usr/local/lib/python3.10/dist-packages/birdnetlib/main.py in read_audio_data(self)
310 try:
--> 311 self.ndarray, rate = librosa.load(
312 self.path, sr=SAMPLE_RATE, mono=True, res_type="kaiser_fast"
5 frames
ModuleNotFoundError: No module named 'resampy'
This error is lazily reported, having originally occured in
File /usr/local/lib/python3.10/dist-packages/librosa/core/audio.py, line 33, in
----> resampy = lazy.load("resampy")
During handling of the above exception, another exception occurred:
AudioFormatError Traceback (most recent call last)
/usr/local/lib/python3.10/dist-packages/birdnetlib/main.py in read_audio_data(self)
321 except BaseException as e:
322 print(e)
--> 323 raise AudioFormatError("Generic audio read error occurred from librosa.")
324
325 self.process_audio_data(rate)
AudioFormatError: Generic audio read error occurred from librosa.