Python Forum
librosa ERROR: Command errored out with exit status 1:
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
librosa ERROR: Command errored out with exit status 1:
#6
Python 3.8 is still new and not all libraries are up to date yet.
librosa use a lot of libraries over 10,and this will fail using Python 3.8(i have tried).
Python 3.6/3.7 and pip installation under Windows

Here Python 3.7 and in a virtual environment and it work.
# Check pip
(forum_env) E:\div_code\forum_env
λ pip -V
pip 19.2.3 from e:\div_code\forum_env\lib\site-packages\pip (python 3.7)

# Install
(forum_env) E:\div_code\forum_env
λ pip install librosa
Collecting librosa
  Downloading ......
Successfully installed audioread-2.1.8 cffi-1.13.2 decorator-4.4.1 joblib-0.14.0 librosa-0.7.1 llvmlite-0.30.0
numba-0.46.0 numpy-1.17.3 pycparser-2.19 resampy-0.2.2 scikit-learn-0.21.3 scipy-1.3.2 six-1.13.0 soundfile-0.10.2

# Test that it work
(forum_env) E:\div_code\forum_env
λ ptpython
>>> import librosa
>>>
>>> librosa.__version__
'0.7.1'

>>> librosa.beat
<module 'librosa.beat' from 'e:\\div_code\\forum_env\\lib\\site-packages\\librosa\\beat.py'>

>>> help(librosa.beat)
Help on module librosa.beat in librosa:

NAME
    librosa.beat

DESCRIPTION
    Beat and tempo
    ==============
    .. autosummary::
       :toctree: generated/

       beat_track
       plp
       tempo
       ..... Long help
Reply


Messages In This Thread
RE: librosa ERROR: Command errored out with exit status 1: - by snippsat - Nov-10-2019, 01:10 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020