pypi
The simplest way to install librosa is through the Python Package Index (PyPI). This will ensure that all required dependencies are fulfilled. This can be achieved by executing the following command:pip install librosa
sudo pip install librosa
pip install -u librosa
conda
If you use conda/Anaconda environments, librosa can be installed from the conda-forge channel:conda install -c conda-forge librosa
This command was extremely helpful for resolve issue regarding librosa
asking about "Visual C++ 2015 Build Tools".
Source
If you’ve downloaded the archive manually from the releases page, you can install using thesetuptools
script:tar xzf librosa-VERSION.tar.gz
cd librosa-VERSION/
python setup.py install
pip install git+https://github.com/librosa/librosa
ffmpeg
To fuelaudioread
with more audio-decoding power, you can install ffmpeg which
ships with many audio decoders. Note that conda users on Linux and OSX will
have this installed by default; Windows users must install ffmpeg separately.OSX users can use homebrew to install ffmpeg by calling brew install ffmpeg or get a binary version from their website https://www.ffmpeg.org.
originally post on librosa.github.io
No comments:
Post a Comment