总结: 1、librosa很难在命令行直接使用conda或pip安装; 2、直接使用安装包安装时,尽量使用最新的版本,可以避免numba和llvmlite等相关问题(numpy版本不匹配)
1、下载librosa的源码:源码地址
2、win+r键,输入cmd打开命令行
3、进入librosa-0.9.1.zip的保存目录
4、解压缩文件librosa-0.9.1.zip:tar xzf librosa-0.9.1.zip
(base) C:Userslimiao8>tar xzf librosa-0.9.1.zip (base) C:Userslimiao8>
5、进入解压后的文件夹
(base) C:Userslimiao8>cd librosa-0.9.1
6、安装
(base) C:Userslimiao8librosa-0.9.1>python setup.py install running install running bdist_egg running egg_info creating librosa.egg-info writing librosa.egg-infoPKG-INFO writing dependency_links to librosa.egg-infodependency_links.txt writing requirements to librosa.egg-inforequires.txt writing top-level names to librosa.egg-infotop_level.txt writing manifest file 'librosa.egg-infoSOURCES.txt' reading manifest file 'librosa.egg-infoSOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE.md' writing manifest file 'librosa.egg-infoSOURCES.txt' installing library code to buildbdist.win-amd64egg running install_lib running build_py creating build creating buildlib creating buildliblibrosa copying librosabeat.py -> buildliblibrosa copying librosadecompose.py -> buildliblibrosa copying librosadisplay.py -> buildliblibrosa copying librosaeffects.py -> buildliblibrosa copying librosafilters.py -> buildliblibrosa copying librosaonset.py -> buildliblibrosa copying librosasegment.py -> buildliblibrosa copying librosasequence.py -> buildliblibrosa copying librosaversion.py -> buildliblibrosa copying librosa_cache.py -> buildliblibrosa copying librosa__init__.py -> buildliblibrosa creating buildliblibrosacore copying librosacoreaudio.py -> buildliblibrosacore copying librosacoreconstantq.py -> buildliblibrosacore copying librosacoreconvert.py -> buildliblibrosacore copying librosacorefft.py -> buildliblibrosacore copying librosacoreharmonic.py -> buildliblibrosacore copying librosacorenotation.py -> buildliblibrosacore copying librosacorepitch.py -> buildliblibrosacore copying librosacorespectrum.py -> buildliblibrosacore copying librosacore__init__.py -> buildliblibrosacore creating buildliblibrosafeature copying librosafeatureinverse.py -> buildliblibrosafeature copying librosafeaturerhythm.py -> buildliblibrosafeature copying librosafeaturespectral.py -> buildliblibrosafeature copying librosafeatureutils.py -> buildliblibrosafeature copying librosafeature__init__.py -> buildliblibrosafeature creating buildliblibrosautil copying librosautildecorators.py -> buildliblibrosautil copying librosautildeprecation.py -> buildliblibrosautil copying librosautilexceptions.py -> buildliblibrosautil copying librosautilfiles.py -> buildliblibrosautil copying librosautilmatching.py -> buildliblibrosautil copying librosautilutils.py -> buildliblibrosautil copying librosautil_nnls.py -> buildliblibrosautil copying librosautil__init__.py -> buildliblibrosautil creating buildliblibrosautilexample_data copying librosautilexample_dataindex.json -> buildliblibrosautilexample_data copying librosautilexample_dataregistry.txt -> buildliblibrosautilexample_data creating buildbdist.win-amd64 creating buildbdist.win-amd64egg creating buildbdist.win-amd64egglibrosa copying buildliblibrosabeat.py -> buildbdist.win-amd64egglibrosa creating buildbdist.win-amd64egglibrosacore copying buildliblibrosacoreaudio.py -> buildbdist.win-amd64egglibrosacore copying buildliblibrosacoreconstantq.py -> buildbdist.win-amd64egglibrosacore copying buildliblibrosacoreconvert.py -> buildbdist.win-amd64egglibrosacore copying buildliblibrosacorefft.py -> buildbdist.win-amd64egglibrosacore copying buildliblibrosacoreharmonic.py -> buildbdist.win-amd64egglibrosacore copying buildliblibrosacorenotation.py -> buildbdist.win-amd64egglibrosacore copying buildliblibrosacorepitch.py -> buildbdist.win-amd64egglibrosacore copying buildliblibrosacorespectrum.py -> buildbdist.win-amd64egglibrosacore copying buildliblibrosacore__init__.py -> buildbdist.win-amd64egglibrosacore copying buildliblibrosadecompose.py -> buildbdist.win-amd64egglibrosa copying buildliblibrosadisplay.py -> buildbdist.win-amd64egglibrosa copying buildliblibrosaeffects.py -> buildbdist.win-amd64egglibrosa creating buildbdist.win-amd64egglibrosafeature copying buildliblibrosafeatureinverse.py -> buildbdist.win-amd64egglibrosafeature copying buildliblibrosafeaturerhythm.py -> buildbdist.win-amd64egglibrosafeature copying buildliblibrosafeaturespectral.py -> buildbdist.win-amd64egglibrosafeature copying buildliblibrosafeatureutils.py -> buildbdist.win-amd64egglibrosafeature copying buildliblibrosafeature__init__.py -> buildbdist.win-amd64egglibrosafeature copying buildliblibrosafilters.py -> buildbdist.win-amd64egglibrosa copying buildliblibrosaonset.py -> buildbdist.win-amd64egglibrosa copying buildliblibrosasegment.py -> buildbdist.win-amd64egglibrosa copying buildliblibrosasequence.py -> buildbdist.win-amd64egglibrosa creating buildbdist.win-amd64egglibrosautil copying buildliblibrosautildecorators.py -> buildbdist.win-amd64egglibrosautil copying buildliblibrosautildeprecation.py -> buildbdist.win-amd64egglibrosautil creating buildbdist.win-amd64egglibrosautilexample_data copying buildliblibrosautilexample_dataindex.json -> buildbdist.win-amd64egglibrosautilexample_data copying buildliblibrosautilexample_dataregistry.txt -> buildbdist.win-amd64egglibrosautilexample_data copying buildliblibrosautilexceptions.py -> buildbdist.win-amd64egglibrosautil copying buildliblibrosautilfiles.py -> buildbdist.win-amd64egglibrosautil copying buildliblibrosautilmatching.py -> buildbdist.win-amd64egglibrosautil copying buildliblibrosautilutils.py -> buildbdist.win-amd64egglibrosautil copying buildliblibrosautil_nnls.py -> buildbdist.win-amd64egglibrosautil copying buildliblibrosautil__init__.py -> buildbdist.win-amd64egglibrosautil copying buildliblibrosaversion.py -> buildbdist.win-amd64egglibrosa copying buildliblibrosa_cache.py -> buildbdist.win-amd64egglibrosa copying buildliblibrosa__init__.py -> buildbdist.win-amd64egglibrosa byte-compiling buildbdist.win-amd64egglibrosabeat.py to beat.cpython-39.pyc byte-compiling buildbdist.win-amd64egglibrosacoreaudio.py to audio.cpython-39.pyc byte-compiling buildbdist.win-amd64egglibrosacoreconstantq.py to constantq.cpython-39.pyc byte-compiling buildbdist.win-amd64egglibrosacoreconvert.py to convert.cpython-39.pyc byte-compiling buildbdist.win-amd64egglibrosacorefft.py to fft.cpython-39.pyc byte-compiling buildbdist.win-amd64egglibrosacoreharmonic.py to harmonic.cpython-39.pyc byte-compiling buildbdist.win-amd64egglibrosacorenotation.py to notation.cpython-39.pyc byte-compiling buildbdist.win-amd64egglibrosacorepitch.py to pitch.cpython-39.pyc byte-compiling buildbdist.win-amd64egglibrosacorespectrum.py to spectrum.cpython-39.pyc byte-compiling buildbdist.win-amd64egglibrosacore__init__.py to __init__.cpython-39.pyc byte-compiling buildbdist.win-amd64egglibrosadecompose.py to decompose.cpython-39.pyc byte-compiling buildbdist.win-amd64egglibrosadisplay.py to display.cpython-39.pyc byte-compiling buildbdist.win-amd64egglibrosaeffects.py to effects.cpython-39.pyc byte-compiling buildbdist.win-amd64egglibrosafeatureinverse.py to inverse.cpython-39.pyc byte-compiling buildbdist.win-amd64egglibrosafeaturerhythm.py to rhythm.cpython-39.pyc byte-compiling buildbdist.win-amd64egglibrosafeaturespectral.py to spectral.cpython-39.pyc byte-compiling buildbdist.win-amd64egglibrosafeatureutils.py to utils.cpython-39.pyc byte-compiling buildbdist.win-amd64egglibrosafeature__init__.py to __init__.cpython-39.pyc byte-compiling buildbdist.win-amd64egglibrosafilters.py to filters.cpython-39.pyc byte-compiling buildbdist.win-amd64egglibrosaonset.py to onset.cpython-39.pyc byte-compiling buildbdist.win-amd64egglibrosasegment.py to segment.cpython-39.pyc byte-compiling buildbdist.win-amd64egglibrosasequence.py to sequence.cpython-39.pyc byte-compiling buildbdist.win-amd64egglibrosautildecorators.py to decorators.cpython-39.pyc byte-compiling buildbdist.win-amd64egglibrosautildeprecation.py to deprecation.cpython-39.pyc byte-compiling buildbdist.win-amd64egglibrosautilexceptions.py to exceptions.cpython-39.pyc byte-compiling buildbdist.win-amd64egglibrosautilfiles.py to files.cpython-39.pyc byte-compiling buildbdist.win-amd64egglibrosautilmatching.py to matching.cpython-39.pyc byte-compiling buildbdist.win-amd64egglibrosautilutils.py to utils.cpython-39.pyc byte-compiling buildbdist.win-amd64egglibrosautil_nnls.py to _nnls.cpython-39.pyc byte-compiling buildbdist.win-amd64egglibrosautil__init__.py to __init__.cpython-39.pyc byte-compiling buildbdist.win-amd64egglibrosaversion.py to version.cpython-39.pyc byte-compiling buildbdist.win-amd64egglibrosa_cache.py to _cache.cpython-39.pyc byte-compiling buildbdist.win-amd64egglibrosa__init__.py to __init__.cpython-39.pyc creating buildbdist.win-amd64eggEGG-INFO copying librosa.egg-infoPKG-INFO -> buildbdist.win-amd64eggEGG-INFO copying librosa.egg-infoSOURCES.txt -> buildbdist.win-amd64eggEGG-INFO copying librosa.egg-infodependency_links.txt -> buildbdist.win-amd64eggEGG-INFO copying librosa.egg-inforequires.txt -> buildbdist.win-amd64eggEGG-INFO copying librosa.egg-infotop_level.txt -> buildbdist.win-amd64eggEGG-INFO zip_safe flag not set; analyzing archive contents... librosa.util.__pycache__.deprecation.cpython-39: module MAY be using inspect.stack creating dist creating 'distlibrosa-0.9.1-py3.9.egg' and adding 'buildbdist.win-amd64egg' to it removing 'buildbdist.win-amd64egg' (and everything under it) Processing librosa-0.9.1-py3.9.egg creating c:userslimiao8anaconda3libsite-packageslibrosa-0.9.1-py3.9.egg Extracting librosa-0.9.1-py3.9.egg to c:userslimiao8anaconda3libsite-packages Removing librosa 0.7.0 from easy-install.pth file Adding librosa 0.9.1 to easy-install.pth file Installed c:userslimiao8anaconda3libsite-packageslibrosa-0.9.1-py3.9.egg Processing dependencies for librosa==0.9.1 Searching for urllib3<1.27,>=1.21.1 Reading https://pypi.org/simple/urllib3/ Downloading https://files.pythonhosted.org/packages/ec/03/062e6444ce4baf1eac17a6a0ebfe36bb1ad05e1df0e20b110de59c278498/urllib3-1.26.9-py2.py3-none-any.whl#sha256=44ece4d53fb1706f667c9bd1c648f5469a2ec925fcf3a776667042d645472c14 Best match: urllib3 1.26.9 Processing urllib3-1.26.9-py2.py3-none-any.whl Installing urllib3-1.26.9-py2.py3-none-any.whl to c:userslimiao8anaconda3libsite-packages Adding urllib3 1.26.9 to easy-install.pth file Installed c:userslimiao8anaconda3libsite-packagesurllib3-1.26.9-py3.9.egg Searching for packaging==21.0 Best match: packaging 21.0 Adding packaging 21.0 to easy-install.pth file Using c:userslimiao8anaconda3libsite-packages Searching for pooch==1.6.0 Best match: pooch 1.6.0 Adding pooch 1.6.0 to easy-install.pth file Using c:userslimiao8anaconda3libsite-packages Searching for soundfile==0.10.3.post1 Best match: soundfile 0.10.3.post1 Processing soundfile-0.10.3.post1-py3.9.egg soundfile 0.10.3.post1 is already the active version in easy-install.pth Using c:userslimiao8anaconda3libsite-packagessoundfile-0.10.3.post1-py3.9.egg Searching for numba==0.54.1 Best match: numba 0.54.1 Adding numba 0.54.1 to easy-install.pth file Using c:userslimiao8anaconda3libsite-packages Searching for resampy==0.2.2 Best match: resampy 0.2.2 Processing resampy-0.2.2-py3.9.egg resampy 0.2.2 is already the active version in easy-install.pth Using c:userslimiao8anaconda3libsite-packagesresampy-0.2.2-py3.9.egg Searching for decorator==5.1.0 Best match: decorator 5.1.0 Adding decorator 5.1.0 to easy-install.pth file Using c:userslimiao8anaconda3libsite-packages Searching for joblib==1.1.0 Best match: joblib 1.1.0 Adding joblib 1.1.0 to easy-install.pth file Using c:userslimiao8anaconda3libsite-packages Searching for scikit-learn==0.24.2 Best match: scikit-learn 0.24.2 Adding scikit-learn 0.24.2 to easy-install.pth file Using c:userslimiao8anaconda3libsite-packages Searching for scipy==1.7.1 Best match: scipy 1.7.1 Adding scipy 1.7.1 to easy-install.pth file Using c:userslimiao8anaconda3libsite-packages Searching for numpy==1.20.3 Best match: numpy 1.20.3 Adding numpy 1.20.3 to easy-install.pth file Installing f2py-script.py script to C:Userslimiao8anaconda3Scripts Installing f2py.exe script to C:Userslimiao8anaconda3Scripts Using c:userslimiao8anaconda3libsite-packages Searching for audioread==2.1.9 Best match: audioread 2.1.9 Processing audioread-2.1.9-py3.9.egg audioread 2.1.9 is already the active version in easy-install.pth Using c:userslimiao8anaconda3libsite-packagesaudioread-2.1.9-py3.9.egg Searching for pyparsing==3.0.4 Best match: pyparsing 3.0.4 Adding pyparsing 3.0.4 to easy-install.pth file Using c:userslimiao8anaconda3libsite-packages Searching for appdirs==1.4.4 Best match: appdirs 1.4.4 Adding appdirs 1.4.4 to easy-install.pth file Using c:userslimiao8anaconda3libsite-packages Searching for requests==2.26.0 Best match: requests 2.26.0 Adding requests 2.26.0 to easy-install.pth file Using c:userslimiao8anaconda3libsite-packages Searching for cffi==1.14.6 Best match: cffi 1.14.6 Adding cffi 1.14.6 to easy-install.pth file Using c:userslimiao8anaconda3libsite-packages Searching for llvmlite==0.37.0 Best match: llvmlite 0.37.0 Adding llvmlite 0.37.0 to easy-install.pth file Using c:userslimiao8anaconda3libsite-packages Searching for setuptools==58.0.4 Best match: setuptools 58.0.4 Adding setuptools 58.0.4 to easy-install.pth file Using c:userslimiao8anaconda3libsite-packages Searching for six==1.16.0 Best match: six 1.16.0 Adding six 1.16.0 to easy-install.pth file Using c:userslimiao8anaconda3libsite-packages Searching for threadpoolctl==2.2.0 Best match: threadpoolctl 2.2.0 Adding threadpoolctl 2.2.0 to easy-install.pth file Using c:userslimiao8anaconda3libsite-packages Searching for certifi==2021.10.8 Best match: certifi 2021.10.8 Adding certifi 2021.10.8 to easy-install.pth file Using c:userslimiao8anaconda3libsite-packages Searching for charset-normalizer==2.0.4 Best match: charset-normalizer 2.0.4 Adding charset-normalizer 2.0.4 to easy-install.pth file Installing normalizer-script.py script to C:Userslimiao8anaconda3Scripts Installing normalizer.exe script to C:Userslimiao8anaconda3Scripts Using c:userslimiao8anaconda3libsite-packages Searching for idna==3.2 Best match: idna 3.2 Adding idna 3.2 to easy-install.pth file Using c:userslimiao8anaconda3libsite-packages Searching for pycparser==2.20 Best match: pycparser 2.20 Adding pycparser 2.20 to easy-install.pth file Using c:userslimiao8anaconda3libsite-packages Finished processing dependencies for librosa==0.9.1 (base) C:Userslimiao8librosa-0.9.1>可以看到这里已经安装好了:
(base) C:Userslimiao8librosa-0.9.1>python Python 3.9.7 (default, Sep 16 2021, 16:59:28) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import librosa >>>但是这里安装是在anaconda下,在之前创建的虚拟环境里没有安装 因此激活虚拟环境lm_python_env,继续执行安装命令(因为文件已经准备好了):
(base) C:Userslimiao8librosa-0.9.1>conda activate lm_python_env (lm_python_env) C:Userslimiao8librosa-0.9.1>python setup.py install running install C:Userslimiao8anaconda3envslm_python_envlibsite-packagessetuptoolscommandinstall.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. setuptools.SetuptoolsDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagessetuptoolscommandeasy_install.py:147: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. EasyInstallDeprecationWarning, running bdist_egg running egg_info writing librosa.egg-infoPKG-INFO writing dependency_links to librosa.egg-infodependency_links.txt writing requirements to librosa.egg-inforequires.txt writing top-level names to librosa.egg-infotop_level.txt reading manifest file 'librosa.egg-infoSOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE.md' writing manifest file 'librosa.egg-infoSOURCES.txt' installing library code to buildbdist.win-amd64egg running install_lib running build_py creating buildbdist.win-amd64egg creating buildbdist.win-amd64egglibrosa copying buildliblibrosabeat.py -> buildbdist.win-amd64egglibrosa creating buildbdist.win-amd64egglibrosacore copying buildliblibrosacoreaudio.py -> buildbdist.win-amd64egglibrosacore copying buildliblibrosacoreconstantq.py -> buildbdist.win-amd64egglibrosacore copying buildliblibrosacoreconvert.py -> buildbdist.win-amd64egglibrosacore copying buildliblibrosacorefft.py -> buildbdist.win-amd64egglibrosacore copying buildliblibrosacoreharmonic.py -> buildbdist.win-amd64egglibrosacore copying buildliblibrosacorenotation.py -> buildbdist.win-amd64egglibrosacore copying buildliblibrosacorepitch.py -> buildbdist.win-amd64egglibrosacore copying buildliblibrosacorespectrum.py -> buildbdist.win-amd64egglibrosacore copying buildliblibrosacore__init__.py -> buildbdist.win-amd64egglibrosacore copying buildliblibrosadecompose.py -> buildbdist.win-amd64egglibrosa copying buildliblibrosadisplay.py -> buildbdist.win-amd64egglibrosa copying buildliblibrosaeffects.py -> buildbdist.win-amd64egglibrosa creating buildbdist.win-amd64egglibrosafeature copying buildliblibrosafeatureinverse.py -> buildbdist.win-amd64egglibrosafeature copying buildliblibrosafeaturerhythm.py -> buildbdist.win-amd64egglibrosafeature copying buildliblibrosafeaturespectral.py -> buildbdist.win-amd64egglibrosafeature copying buildliblibrosafeatureutils.py -> buildbdist.win-amd64egglibrosafeature copying buildliblibrosafeature__init__.py -> buildbdist.win-amd64egglibrosafeature copying buildliblibrosafilters.py -> buildbdist.win-amd64egglibrosa copying buildliblibrosaonset.py -> buildbdist.win-amd64egglibrosa copying buildliblibrosasegment.py -> buildbdist.win-amd64egglibrosa copying buildliblibrosasequence.py -> buildbdist.win-amd64egglibrosa creating buildbdist.win-amd64egglibrosautil copying buildliblibrosautildecorators.py -> buildbdist.win-amd64egglibrosautil copying buildliblibrosautildeprecation.py -> buildbdist.win-amd64egglibrosautil creating buildbdist.win-amd64egglibrosautilexample_data copying buildliblibrosautilexample_dataindex.json -> buildbdist.win-amd64egglibrosautilexample_data copying buildliblibrosautilexample_dataregistry.txt -> buildbdist.win-amd64egglibrosautilexample_data copying buildliblibrosautilexceptions.py -> buildbdist.win-amd64egglibrosautil copying buildliblibrosautilfiles.py -> buildbdist.win-amd64egglibrosautil copying buildliblibrosautilmatching.py -> buildbdist.win-amd64egglibrosautil copying buildliblibrosautilutils.py -> buildbdist.win-amd64egglibrosautil copying buildliblibrosautil_nnls.py -> buildbdist.win-amd64egglibrosautil copying buildliblibrosautil__init__.py -> buildbdist.win-amd64egglibrosautil copying buildliblibrosaversion.py -> buildbdist.win-amd64egglibrosa copying buildliblibrosa_cache.py -> buildbdist.win-amd64egglibrosa copying buildliblibrosa__init__.py -> buildbdist.win-amd64egglibrosa byte-compiling buildbdist.win-amd64egglibrosabeat.py to beat.cpython-37.pyc byte-compiling buildbdist.win-amd64egglibrosacoreaudio.py to audio.cpython-37.pyc byte-compiling buildbdist.win-amd64egglibrosacoreconstantq.py to constantq.cpython-37.pyc byte-compiling buildbdist.win-amd64egglibrosacoreconvert.py to convert.cpython-37.pyc byte-compiling buildbdist.win-amd64egglibrosacorefft.py to fft.cpython-37.pyc byte-compiling buildbdist.win-amd64egglibrosacoreharmonic.py to harmonic.cpython-37.pyc byte-compiling buildbdist.win-amd64egglibrosacorenotation.py to notation.cpython-37.pyc byte-compiling buildbdist.win-amd64egglibrosacorepitch.py to pitch.cpython-37.pyc byte-compiling buildbdist.win-amd64egglibrosacorespectrum.py to spectrum.cpython-37.pyc byte-compiling buildbdist.win-amd64egglibrosacore__init__.py to __init__.cpython-37.pyc byte-compiling buildbdist.win-amd64egglibrosadecompose.py to decompose.cpython-37.pyc byte-compiling buildbdist.win-amd64egglibrosadisplay.py to display.cpython-37.pyc byte-compiling buildbdist.win-amd64egglibrosaeffects.py to effects.cpython-37.pyc byte-compiling buildbdist.win-amd64egglibrosafeatureinverse.py to inverse.cpython-37.pyc byte-compiling buildbdist.win-amd64egglibrosafeaturerhythm.py to rhythm.cpython-37.pyc byte-compiling buildbdist.win-amd64egglibrosafeaturespectral.py to spectral.cpython-37.pyc byte-compiling buildbdist.win-amd64egglibrosafeatureutils.py to utils.cpython-37.pyc byte-compiling buildbdist.win-amd64egglibrosafeature__init__.py to __init__.cpython-37.pyc byte-compiling buildbdist.win-amd64egglibrosafilters.py to filters.cpython-37.pyc byte-compiling buildbdist.win-amd64egglibrosaonset.py to onset.cpython-37.pyc byte-compiling buildbdist.win-amd64egglibrosasegment.py to segment.cpython-37.pyc byte-compiling buildbdist.win-amd64egglibrosasequence.py to sequence.cpython-37.pyc byte-compiling buildbdist.win-amd64egglibrosautildecorators.py to decorators.cpython-37.pyc byte-compiling buildbdist.win-amd64egglibrosautildeprecation.py to deprecation.cpython-37.pyc byte-compiling buildbdist.win-amd64egglibrosautilexceptions.py to exceptions.cpython-37.pyc byte-compiling buildbdist.win-amd64egglibrosautilfiles.py to files.cpython-37.pyc byte-compiling buildbdist.win-amd64egglibrosautilmatching.py to matching.cpython-37.pyc byte-compiling buildbdist.win-amd64egglibrosautilutils.py to utils.cpython-37.pyc byte-compiling buildbdist.win-amd64egglibrosautil_nnls.py to _nnls.cpython-37.pyc byte-compiling buildbdist.win-amd64egglibrosautil__init__.py to __init__.cpython-37.pyc byte-compiling buildbdist.win-amd64egglibrosaversion.py to version.cpython-37.pyc byte-compiling buildbdist.win-amd64egglibrosa_cache.py to _cache.cpython-37.pyc byte-compiling buildbdist.win-amd64egglibrosa__init__.py to __init__.cpython-37.pyc creating buildbdist.win-amd64eggEGG-INFO copying librosa.egg-infoPKG-INFO -> buildbdist.win-amd64eggEGG-INFO copying librosa.egg-infoSOURCES.txt -> buildbdist.win-amd64eggEGG-INFO copying librosa.egg-infodependency_links.txt -> buildbdist.win-amd64eggEGG-INFO copying librosa.egg-inforequires.txt -> buildbdist.win-amd64eggEGG-INFO copying librosa.egg-infotop_level.txt -> buildbdist.win-amd64eggEGG-INFO zip_safe flag not set; analyzing archive contents... librosa.util.__pycache__.deprecation.cpython-37: module MAY be using inspect.stack creating 'distlibrosa-0.9.1-py3.7.egg' and adding 'buildbdist.win-amd64egg' to it removing 'buildbdist.win-amd64egg' (and everything under it) Processing librosa-0.9.1-py3.7.egg creating c:userslimiao8anaconda3envslm_python_envlibsite-packageslibrosa-0.9.1-py3.7.egg Extracting librosa-0.9.1-py3.7.egg to c:userslimiao8anaconda3envslm_python_envlibsite-packages Adding librosa 0.9.1 to easy-install.pth file Installed c:userslimiao8anaconda3envslm_python_envlibsite-packageslibrosa-0.9.1-py3.7.egg Processing dependencies for librosa==0.9.1 Searching for packaging>=20.0 Reading https://pypi.org/simple/packaging/ C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, Downloading https://files.pythonhosted.org/packages/05/8e/8de486cbd03baba4deef4142bd643a3e7bbe954a784dc1bb17142572d127/packaging-21.3-py3-none-any.whl#sha256=ef103e05f519cdc783ae24ea4e2e0f508a9c99b2d4969652eed6a2e1ea5bd522 Best match: packaging 21.3 Processing packaging-21.3-py3-none-any.whl Installing packaging-21.3-py3-none-any.whl to c:userslimiao8anaconda3envslm_python_envlibsite-packages Adding packaging 21.3 to easy-install.pth file Installed c:userslimiao8anaconda3envslm_python_envlibsite-packagespackaging-21.3-py3.7.egg Searching for pooch>=1.0 Reading https://pypi.org/simple/pooch/ Downloading https://files.pythonhosted.org/packages/8d/64/8e1bfeda3ba0f267b2d9a918e8ca51db8652d0e1a3412a5b3dbce85d90b6/pooch-1.6.0-py3-none-any.whl#sha256=3bf0e20027096836b8dbce0152dbb785a269abeb621618eb4bdd275ff1e23c9c Best match: pooch 1.6.0 Processing pooch-1.6.0-py3-none-any.whl Installing pooch-1.6.0-py3-none-any.whl to c:userslimiao8anaconda3envslm_python_envlibsite-packages Adding pooch 1.6.0 to easy-install.pth file Installed c:userslimiao8anaconda3envslm_python_envlibsite-packagespooch-1.6.0-py3.7.egg Searching for soundfile>=0.10.2 Reading https://pypi.org/simple/soundfile/ Downloading https://files.pythonhosted.org/packages/eb/f2/3cbbbf3b96fb9fa91582c438b574cff3f45b29c772f94c400e2c99ef5db9/SoundFile-0.10.3.post1-py2.py3-none-any.whl#sha256=2d17e0a6fc2af0d6c1d868bafa5ec80aae6e186a97fec8db07ad6af29842fbc7 Best match: SoundFile 0.10.3.post1 Processing SoundFile-0.10.3.post1-py2.py3-none-any.whl Installing SoundFile-0.10.3.post1-py2.py3-none-any.whl to c:userslimiao8anaconda3envslm_python_envlibsite-packages Adding SoundFile 0.10.3.post1 to easy-install.pth file Installed c:userslimiao8anaconda3envslm_python_envlibsite-packagessoundfile-0.10.3.post1-py3.7.egg Searching for numba>=0.45.1 Reading https://pypi.org/simple/numba/ Downloading https://files.pythonhosted.org/packages/c6/57/16bf47f699eb38b6cbf15cf4fca6dd071a9bd5c5d6d0c3c578847cb50792/numba-0.55.2-cp37-cp37m-win_amd64.whl#sha256=5559c6684bf6cce7a22c656d8fef3e7c38ff5fec5153abef5955f6f7cae9f102 Best match: numba 0.55.2 Processing numba-0.55.2-cp37-cp37m-win_amd64.whl Installing numba-0.55.2-cp37-cp37m-win_amd64.whl to c:userslimiao8anaconda3envslm_python_envlibsite-packages Adding numba 0.55.2 to easy-install.pth file Installing numba script to C:Userslimiao8anaconda3envslm_python_envScripts Installing pycc script to C:Userslimiao8anaconda3envslm_python_envScripts Installed c:userslimiao8anaconda3envslm_python_envlibsite-packagesnumba-0.55.2-py3.7-win-amd64.egg Searching for resampy>=0.2.2 Reading https://pypi.org/simple/resampy/ C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: 0.1.1-final is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: final is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, Downloading https://files.pythonhosted.org/packages/79/75/e22272b9c2185fc8f3af6ce37229708b45e8b855fd4bc38b4d6b040fff65/resampy-0.2.2.tar.gz#sha256=62af020d8a6674d8117f62320ce9470437bb1d738a5d06cd55591b69b463929e Best match: resampy 0.2.2 Processing resampy-0.2.2.tar.gz Writing C:Userslimiao8AppDataLocalTempeasy_install-po2h9_3_resampy-0.2.2setup.cfg Running resampy-0.2.2setup.py -q bdist_egg --dist-dir C:Userslimiao8AppDataLocalTempeasy_install-po2h9_3_resampy-0.2.2egg-dist-tmp-en8f71ei C:Userslimiao8AppDataLocalTempeasy_install-po2h9_3_resampy-0.2.2setup.py:2: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses import imp warning: no files found matching '*.c' under directory 'resampy' warning: no files found matching '*.pyx' under directory 'resampy' warning: no files found matching '*.pxd' under directory 'resampy' C:Userslimiao8anaconda3envslm_python_envlibsite-packagessetuptoolscommandinstall.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. setuptools.SetuptoolsDeprecationWarning, zip_safe flag not set; analyzing archive contents... Copying resampy-0.2.2-py3.7.egg to c:userslimiao8anaconda3envslm_python_envlibsite-packages Adding resampy 0.2.2 to easy-install.pth file Installed c:userslimiao8anaconda3envslm_python_envlibsite-packagesresampy-0.2.2-py3.7.egg Searching for decorator>=4.0.10 Reading https://pypi.org/simple/decorator/ C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, Downloading https://files.pythonhosted.org/packages/d5/50/83c593b07763e1161326b3b8c6686f0f4b0f24d5526546bee538c89837d6/decorator-5.1.1-py3-none-any.whl#sha256=b8c3f85900b9dc423225913c5aace94729fe1fa9763b38939a95226f02d37186 Best match: decorator 5.1.1 Processing decorator-5.1.1-py3-none-any.whl Installing decorator-5.1.1-py3-none-any.whl to c:userslimiao8anaconda3envslm_python_envlibsite-packages Adding decorator 5.1.1 to easy-install.pth file Installed c:userslimiao8anaconda3envslm_python_envlibsite-packagesdecorator-5.1.1-py3.7.egg Searching for joblib>=0.14 Reading https://pypi.org/simple/joblib/ C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: 0.3.2d.dev is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: 0.3.2e.dev is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: 0.3.2f.dev is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: 0.3.2g.dev is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: 0.7.0d is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: r1 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, Downloading https://files.pythonhosted.org/packages/3e/d5/0163eb0cfa0b673aa4fe1cd3ea9d8a81ea0f32e50807b0c295871e4aab2e/joblib-1.1.0-py2.py3-none-any.whl#sha256=f21f109b3c7ff9d95f8387f752d0d9c34a02aa2f7060c2135f465da0e5160ff6 Best match: joblib 1.1.0 Processing joblib-1.1.0-py2.py3-none-any.whl Installing joblib-1.1.0-py2.py3-none-any.whl to c:userslimiao8anaconda3envslm_python_envlibsite-packages Adding joblib 1.1.0 to easy-install.pth file Installed c:userslimiao8anaconda3envslm_python_envlibsite-packagesjoblib-1.1.0-py3.7.egg Searching for scikit-learn>=0.19.1 Reading https://pypi.org/simple/scikit-learn/ C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: learn-0.9 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: learn-0.10 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: learn-0.11 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: learn-0.12 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: learn-0.12.1 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: learn-0.13 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: learn-0.13.1 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: learn-0.14 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: learn-0.14.1 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: learn-0.15.0b1 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: learn-0.15.0b2 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: learn-0.15.0 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: learn-0.15.1 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: learn-0.15.2 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: learn-0.16b1 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: learn-0.16.0 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: learn-0.16.1 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: learn-0.17b1 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: learn-0.17 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: learn-0.17.1 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: learn-0.18rc2 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: learn-0.18 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: learn-0.18.1 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: learn-0.18.2 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: learn-0.19b2 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: learn-0.19.0 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: learn-0.19.1 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: learn-0.19.2 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: learn-0.20rc1 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: learn-0.20.0 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: learn-0.20.1 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: learn-0.20.2 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: learn-0.20.3 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: learn-0.20.4 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: learn-0.21rc2 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: learn-0.21.1 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: learn-0.21.2 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: learn-0.21.3 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: learn-0.22rc2.post1 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: learn-0.22rc3 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: learn-0.22 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: learn-0.22.1 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: learn-0.22.2.post1 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: learn-0.23.0rc1 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: learn-0.23.0 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: learn-0.23.1 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: learn-0.23.2 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: learn-0.24.dev0 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: learn-0.24.0rc1 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: learn-0.24.0 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: learn-0.24.1 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: learn-0.24.2 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: learn-1.0rc1 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: learn-1.0rc2 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: learn-1.0 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: learn-1.0.1 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: learn-1.0.2 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: learn-1.1.0rc1 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: learn-1.1.0 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py:125: PkgResourcesDeprecationWarning: learn-1.1.1 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, Downloading https://files.pythonhosted.org/packages/41/11/e931951f048908ceaf2423db48ca6ad10e0b818c2960a3bc2dacb4fa4c1d/scikit-learn-1.1.1.tar.gz#sha256=3e77b71e8e644f86c8b5be7f1c285ef597de4c384961389ee3e9ca36c445b256 Best match: scikit-learn 1.1.1 Processing scikit-learn-1.1.1.tar.gz Traceback (most recent call last): File "setup.py", line 4, in查看结果:setup() File "C:Userslimiao8anaconda3envslm_python_envlibsite-packagessetuptools__init__.py", line 87, in setup return distutils.core.setup(**attrs) File "C:Userslimiao8anaconda3envslm_python_envlibsite-packagessetuptools_distutilscore.py", line 148, in setup return run_commands(dist) File "C:Userslimiao8anaconda3envslm_python_envlibsite-packagessetuptools_distutilscore.py", line 163, in run_commands dist.run_commands() File "C:Userslimiao8anaconda3envslm_python_envlibsite-packagessetuptools_distutilsdist.py", line 967, in run_commands self.run_command(cmd) File "C:Userslimiao8anaconda3envslm_python_envlibsite-packagessetuptoolsdist.py", line 1214, in run_command super().run_command(command) File "C:Userslimiao8anaconda3envslm_python_envlibsite-packagessetuptools_distutilsdist.py", line 986, in run_command cmd_obj.run() File "C:Userslimiao8anaconda3envslm_python_envlibsite-packagessetuptoolscommandinstall.py", line 74, in run self.do_egg_install() File "C:Userslimiao8anaconda3envslm_python_envlibsite-packagessetuptoolscommandinstall.py", line 131, in do_egg_install cmd.run(show_deprecation=False) File "C:Userslimiao8anaconda3envslm_python_envlibsite-packagessetuptoolscommandeasy_install.py", line 426, in run self.easy_install(spec, not self.no_deps) File "C:Userslimiao8anaconda3envslm_python_envlibsite-packagessetuptoolscommandeasy_install.py", line 668, in easy_install return self.install_item(None, spec, tmpdir, deps, True) File "C:Userslimiao8anaconda3envslm_python_envlibsite-packagessetuptoolscommandeasy_install.py", line 715, in install_item self.process_distribution(spec, dist, deps) File "C:Userslimiao8anaconda3envslm_python_envlibsite-packagessetuptoolscommandeasy_install.py", line 761, in process_distribution [requirement], self.local_index, self.easy_install File "C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py", line 779, in resolve replace_conflicting=replace_conflicting File "C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py", line 1062, in best_match return self.obtain(req, installer) File "C:Userslimiao8anaconda3envslm_python_envlibsite-packagespkg_resources__init__.py", line 1074, in obtain return installer(requirement) File "C:Userslimiao8anaconda3envslm_python_envlibsite-packagessetuptoolscommandeasy_install.py", line 687, in easy_install return self.install_item(spec, dist.location, tmpdir, deps) File "C:Userslimiao8anaconda3envslm_python_envlibsite-packagessetuptoolscommandeasy_install.py", line 713, in install_item dists = self.install_eggs(spec, download, tmpdir) File "C:Userslimiao8anaconda3envslm_python_envlibsite-packagessetuptoolscommandeasy_install.py", line 906, in install_eggs return self.build_and_install(setup_script, setup_base) File "C:Userslimiao8anaconda3envslm_python_envlibsite-packagessetuptoolscommandeasy_install.py", line 1177, in build_and_install self._set_fetcher_options(os.path.dirname(setup_script)) File "C:Userslimiao8anaconda3envslm_python_envlibsite-packagessetuptoolscommandeasy_install.py", line 1215, in _set_fetcher_options setopt.edit_config(cfg_filename, settings) File "C:Userslimiao8anaconda3envslm_python_envlibsite-packagessetuptoolscommandsetopt.py", line 43, in edit_config opts.read([filename]) File "C:Userslimiao8anaconda3envslm_python_envlibconfigparser.py", line 696, in read self._read(fp, filename) File "C:Userslimiao8anaconda3envslm_python_envlibconfigparser.py", line 1014, in _read for lineno, line in enumerate(fp, start=1): UnicodeDecodeError: 'gbk' codec can't decode byte 0x99 in position 1211: illegal multibyte sequence (lm_python_env) C:Userslimiao8librosa-0.9.1>
(lm_python_env) C:Userslimiao8librosa-0.9.1>python Python 3.7.13 (default, Mar 28 2022, 08:03:21) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import librosa Traceback (most recent call last): File "从上面看到报错,解决方法:", line 1, in File "C:Userslimiao8librosa-0.9.1librosa__init__.py", line 209, in from . import core File "C:Userslimiao8librosa-0.9.1librosacore__init__.py", line 5, in from .convert import * # pylint: disable=wildcard-import File "C:Userslimiao8librosa-0.9.1librosacoreconvert.py", line 7, in from . import notation File "C:Userslimiao8librosa-0.9.1librosacorenotation.py", line 8, in from ..util.exceptions import ParameterError File "C:Userslimiao8librosa-0.9.1librosautil__init__.py", line 77, in from .utils import * # pylint: disable=wildcard-import File "C:Userslimiao8librosa-0.9.1librosautilutils.py", line 9, in import numba File "C:Userslimiao8anaconda3envslm_python_envlibsite-packagesnumba-0.55.2-py3.7-win-amd64.eggnumba__init__.py", line 19, in from numba.core import config File "C:Userslimiao8anaconda3envslm_python_envlibsite-packagesnumba-0.55.2-py3.7-win-amd64.eggnumbacoreconfig.py", line 15, in import llvmlite.binding as ll ModuleNotFoundError: No module named 'llvmlite' >>> exit()
(lm_python_env) C:Userslimiao8librosa-0.9.1>pip install librosa --user --ignore-installed llvmlite -i https://pypi.douban.com/simple --user
Looking in indexes: https://pypi.douban.com/simple
Collecting librosa
Downloading https://pypi.doubanio.com/packages/5b/da/bd63187b2ca1b97c04c270df90c934a97cbe512c8238ab65c89c1b043ae2/librosa-0.9.1-py3-none-any.whl (213 kB)
|████████████████████████████████| 213 kB 819 kB/s
Collecting llvmlite
Downloading https://pypi.doubanio.com/packages/7b/bf/cb2db0ce7b861eaec8621e2493aa20d1172b1934f45dfc850d8944e607b8/llvmlite-0.38.1-cp37-cp37m-win_amd64.whl (23.2 MB)
|████████████████████████████████| 23.2 MB 1.1 MB/s
Collecting pooch>=1.0
Downloading https://pypi.doubanio.com/packages/8d/64/8e1bfeda3ba0f267b2d9a918e8ca51db8652d0e1a3412a5b3dbce85d90b6/pooch-1.6.0-py3-none-any.whl (56 kB)
|████████████████████████████████| 56 kB 975 kB/s
Collecting scipy>=1.2.0
Downloading https://pypi.doubanio.com/packages/40/69/4af412d078cef2298f7d90546fa0e03e65a032558bd85319239c72ae0c3c/scipy-1.7.3-cp37-cp37m-win_amd64.whl (34.1 MB)
|████████████████████████████████| 34.1 MB 1.7 MB/s
Collecting decorator>=4.0.10
Downloading https://pypi.doubanio.com/packages/d5/50/83c593b07763e1161326b3b8c6686f0f4b0f24d5526546bee538c89837d6/decorator-5.1.1-py3-none-any.whl (9.1 kB)
Collecting resampy>=0.2.2
Downloading https://pypi.doubanio.com/packages/79/75/e22272b9c2185fc8f3af6ce37229708b45e8b855fd4bc38b4d6b040fff65/resampy-0.2.2.tar.gz (323 kB)
|████████████████████████████████| 323 kB 1.3 MB/s
Collecting numba>=0.45.1
Downloading https://pypi.doubanio.com/packages/c6/57/16bf47f699eb38b6cbf15cf4fca6dd071a9bd5c5d6d0c3c578847cb50792/numba-0.55.2-cp37-cp37m-win_amd64.whl (2.4 MB)
|████████████████████████████████| 2.4 MB 819 kB/s
Collecting packaging>=20.0
Using cached https://pypi.doubanio.com/packages/05/8e/8de486cbd03baba4deef4142bd643a3e7bbe954a784dc1bb17142572d127/packaging-21.3-py3-none-any.whl (40 kB)
Collecting scikit-learn>=0.19.1
Downloading https://pypi.doubanio.com/packages/9d/20/0ffe8665a44bce7616bd33d4368a198fecad3b226bcafa38c63ef0f6286f/scikit_learn-1.0.2-cp37-cp37m-win_amd64.whl (7.1 MB)
|████████████████████████████████| 7.1 MB 1.7 MB/s
Collecting soundfile>=0.10.2
Downloading https://pypi.doubanio.com/packages/b8/de/24e4035f06540ebb4e9993238ede787063875b003e79c537511d32a74d29/SoundFile-0.10.3.post1-py2.py3.cp26.cp27.cp32.cp33.cp34.cp35.cp36.pp27.pp32.pp33-none-win_amd64.whl (689 kB)
|████████████████████████████████| 689 kB 652 kB/s
Collecting numpy>=1.17.0
Downloading https://pypi.doubanio.com/packages/97/9f/da37cc4a188a1d5d203d65ab28d6504e17594b5342e0c1dc5610ee6f4535/numpy-1.21.6-cp37-cp37m-win_amd64.whl (14.0 MB)
|████████████████████████████████| 14.0 MB 1.6 MB/s
Collecting joblib>=0.14
Using cached https://pypi.doubanio.com/packages/3e/d5/0163eb0cfa0b673aa4fe1cd3ea9d8a81ea0f32e50807b0c295871e4aab2e/joblib-1.1.0-py2.py3-none-any.whl (306 kB)
Collecting audioread>=2.1.5
Downloading https://pypi.doubanio.com/packages/b3/d1/e324634c5867a668774d6fe233a83228da4ba16521e19059c15df899737d/audioread-2.1.9.tar.gz (377 kB)
|████████████████████████████████| 377 kB 819 kB/s
Collecting setuptools
Downloading https://pypi.doubanio.com/packages/e9/1c/ec080fde54ab30a738c92f794eab7f5d2f354f2b619ee95b2efe353e0766/setuptools-62.3.2-py3-none-any.whl (1.2 MB)
|████████████████████████████████| 1.2 MB 504 kB/s
Collecting pyparsing!=3.0.5,>=2.0.2
Downloading https://pypi.doubanio.com/packages/6c/10/a7d0fa5baea8fe7b50f448ab742f26f52b80bfca85ac2be9d35cdd9a3246/pyparsing-3.0.9-py3-none-any.whl (98 kB)
|████████████████████████████████| 98 kB 861 kB/s
Collecting appdirs>=1.3.0
Downloading https://pypi.doubanio.com/packages/3b/00/2344469e2084fb287c2e0b57b72910309874c3245463acd6cf5e3db69324/appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting requests>=2.19.0
Downloading https://pypi.doubanio.com/packages/2d/61/08076519c80041bc0ffa1a8af0cbd3bf3e2b62af10435d269a9d0f40564d/requests-2.27.1-py2.py3-none-any.whl (63 kB)
|████████████████████████████████| 63 kB 1.5 MB/s
Collecting urllib3<1.27,>=1.21.1
Downloading https://pypi.doubanio.com/packages/ec/03/062e6444ce4baf1eac17a6a0ebfe36bb1ad05e1df0e20b110de59c278498/urllib3-1.26.9-py2.py3-none-any.whl (138 kB)
|████████████████████████████████| 138 kB 1.3 MB/s
Collecting certifi>=2017.4.17
Downloading https://pypi.doubanio.com/packages/11/dd/e015f3780f42dd9af62cf0107b44ea1298926627ecd70c17b0e484e95bcd/certifi-2022.5.18.1-py3-none-any.whl (155 kB)
|████████████████████████████████| 155 kB 1.3 MB/s
Collecting idna<4,>=2.5
Downloading https://pypi.doubanio.com/packages/04/a2/d918dcd22354d8958fe113e1a3630137e0fc8b44859ade3063982eacd2a4/idna-3.3-py3-none-any.whl (61 kB)
|████████████████████████████████| 61 kB 1.3 MB/s
Collecting charset-normalizer~=2.0.0
Downloading https://pypi.doubanio.com/packages/06/b3/24afc8868eba069a7f03650ac750a778862dc34941a4bebeb58706715726/charset_normalizer-2.0.12-py3-none-any.whl (39 kB)
Collecting six>=1.3
Downloading https://pypi.doubanio.com/packages/d9/5a/e7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11/six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting threadpoolctl>=2.0.0
Downloading https://pypi.doubanio.com/packages/61/cf/6e354304bcb9c6413c4e02a747b600061c21d38ba51e7e544ac7bc66aecc/threadpoolctl-3.1.0-py3-none-any.whl (14 kB)
Collecting cffi>=1.0
Downloading https://pypi.doubanio.com/packages/51/1a/d3f1a0ec3bf66deca2e63f1f66c9b1ed8c43aa38b064ba86cbfcffa9ab3a/cffi-1.15.0-cp37-cp37m-win_amd64.whl (179 kB)
|████████████████████████████████| 179 kB 726 kB/s
Collecting pycparser
Downloading https://pypi.doubanio.com/packages/62/d5/5f610ebe421e85889f2e55e33b7f9a6795bd982198517d912eb1c76e1a53/pycparser-2.21-py2.py3-none-any.whl (118 kB)
|████████████████████████████████| 118 kB 1.1 MB/s
Building wheels for collected packages: audioread, resampy
Building wheel for audioread (setup.py) ... done
Created wheel for audioread: filename=audioread-2.1.9-py3-none-any.whl size=23153 sha256=28d9fb0ebbe88dc15b86ba3fdf175acc475df48b99c0bf055436d3150afc3726
Stored in directory: c:userslimiao8appdatalocalpipcachewheels5e271c3346fd505246763dc162bc0b807f6252c8564fe5606e511395
Building wheel for resampy (setup.py) ... done
Created wheel for resampy: filename=resampy-0.2.2-py3-none-any.whl size=320732 sha256=34b6e55be2ddf76dae71aba997b604bc43c086588d9202137d53a7372bfc0349
Stored in directory: c:userslimiao8appdatalocalpipcachewheels202ecea5891eaacd1504926a53b0b5124e0916ab2e264fce57b644ae
Successfully built audioread resampy
Installing collected packages: urllib3, setuptools, pyparsing, pycparser, numpy, llvmlite, idna, charset-normalizer, certifi, threadpoolctl, six, scipy, requests, packaging, numba, joblib, cffi, appdirs, soundfile, scikit-learn, resampy, pooch, decorator, audioread, librosa
WARNING: The script f2py.exe is installed in 'C:Userslimiao8AppDataRoamingPythonPython37Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The script normalizer.exe is installed in 'C:Userslimiao8AppDataRoamingPythonPython37Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed appdirs-1.4.4 audioread-2.1.9 certifi-2022.5.18.1 cffi-1.15.0 charset-normalizer-2.0.12 decorator-5.1.1 idna-3.3 joblib-1.1.0 librosa-0.9.1 llvmlite-0.38.1 numba-0.55.2 numpy-1.21.6 packaging-21.3 pooch-1.6.0 pycparser-2.21 pyparsing-3.0.9 requests-2.27.1 resampy-0.2.2 scikit-learn-1.0.2 scipy-1.7.3 setuptools-62.3.2 six-1.16.0 soundfile-0.10.3.post1 threadpoolctl-3.1.0 urllib3-1.26.9
(lm_python_env) C:Userslimiao8librosa-0.9.1>python
Python 3.7.13 (default, Mar 28 2022, 08:03:21) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import librosa
>>> exit()
(lm_python_env) C:Userslimiao8librosa-0.9.1>
可以看到已经安装成功了
注意一条安装命令:pip install librosa --user --ignore-installed llvmlite -i https://pypi.douban.com/simple --user,如果去掉前面一个--user会报错,错误为ERROR: Could not install packages due to an OSError: ("Connection broken: ConnectionResetError(10054, '远程主机强迫关闭 了一个现有的连接。', None, 10054, None)", ConnectionResetError(10054, '远程主机强迫关闭了一个现有的连接。', None, 10054, None))。具体如下:
(lm_python_env) C:Userslimiao8librosa-0.9.1>pip install librosa --ignore-installed llvmlite -i https://pypi.douban.com/simple --user
Looking in indexes: https://pypi.douban.com/simple
Collecting librosa
Downloading https://pypi.doubanio.com/packages/5b/da/bd63187b2ca1b97c04c270df90c934a97cbe512c8238ab65c89c1b043ae2/librosa-0.9.1-py3-none-any.whl (213 kB)
|████████████████████████████████| 213 kB 467 kB/s
Collecting llvmlite
Downloading https://pypi.doubanio.com/packages/7b/bf/cb2db0ce7b861eaec8621e2493aa20d1172b1934f45dfc850d8944e607b8/llvmlite-0.38.1-cp37-cp37m-win_amd64.whl (23.2 MB)
|████████████████████████████████| 23.2 MB 3.3 MB/s
Collecting pooch>=1.0
Downloading https://pypi.doubanio.com/packages/8d/64/8e1bfeda3ba0f267b2d9a918e8ca51db8652d0e1a3412a5b3dbce85d90b6/pooch-1.6.0-py3-none-any.whl (56 kB)
|████████████████████████████████| 56 kB 3.8 MB/s
Collecting joblib>=0.14
Downloading https://pypi.doubanio.com/packages/3e/d5/0163eb0cfa0b673aa4fe1cd3ea9d8a81ea0f32e50807b0c295871e4aab2e/joblib-1.1.0-py2.py3-none-any.whl (306 kB)
|████████████████████████████████| 306 kB 3.3 MB/s
Collecting resampy>=0.2.2
Downloading https://pypi.doubanio.com/packages/79/75/e22272b9c2185fc8f3af6ce37229708b45e8b855fd4bc38b4d6b040fff65/resampy-0.2.2.tar.gz (323 kB)
|████████████████████████████████| 323 kB 3.3 MB/s
Collecting packaging>=20.0
Downloading https://pypi.doubanio.com/packages/05/8e/8de486cbd03baba4deef4142bd643a3e7bbe954a784dc1bb17142572d127/packaging-21.3-py3-none-any.whl (40 kB)
|████████████████████████████████| 40 kB 871 kB/s
ERROR: Could not install packages due to an OSError: ("Connection broken: ConnectionResetError(10054, '远程主机强迫关闭 了一个现有的连接。', None, 10054, None)", ConnectionResetError(10054, '远程主机强迫关闭了一个现有的连接。', None, 10054, None))
(lm_python_env) C:Userslimiao8librosa-0.9.1>python
Python 3.7.13 (default, Mar 28 2022, 08:03:21) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import librosa
Traceback (most recent call last):
File "", line 1, in
File "C:Userslimiao8librosa-0.9.1librosa__init__.py", line 209, in
from . import core
File "C:Userslimiao8librosa-0.9.1librosacore__init__.py", line 5, in
from .convert import * # pylint: disable=wildcard-import
File "C:Userslimiao8librosa-0.9.1librosacoreconvert.py", line 7, in
from . import notation
File "C:Userslimiao8librosa-0.9.1librosacorenotation.py", line 8, in
from ..util.exceptions import ParameterError
File "C:Userslimiao8librosa-0.9.1librosautil__init__.py", line 77, in
from .utils import * # pylint: disable=wildcard-import
File "C:Userslimiao8librosa-0.9.1librosautilutils.py", line 9, in
import numba
File "C:Userslimiao8anaconda3envslm_python_envlibsite-packagesnumba-0.55.2-py3.7-win-amd64.eggnumba__init__.py", line 19, in
from numba.core import config
File "C:Userslimiao8anaconda3envslm_python_envlibsite-packagesnumba-0.55.2-py3.7-win-amd64.eggnumbacoreconfig.py", line 15, in
import llvmlite.binding as ll
ModuleNotFoundError: No module named 'llvmlite'
>>> exit()
(lm_python_env) C:Userslimiao8librosa-0.9.1>
参考链接1
参考链接2



