NameError: name 'librosa' is not defined

i'm working on Arabic Speech Recognition using Wav2Vec XLSR model. While fine-tuning the model it gives the error shown in the picture below. i can't understand what's the problem with librosa it's already installed !!!

Topic data-science-model speech-to-text anaconda library deep-learning

Category Data Science


problem solved by creating a new virtual env and installing all the packages using pip install instead of conda


You have imported librosa but haven't specified how to use it. Try importing it as a keyword. For example:

import librosa as lib

and then whenever you want to use it, use lib instead of librosa

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.