python2710安装librosa072出现错误提示:EPRECATION Python 27 will reach the end of its life on January 1st 2020 Please upgrade your Python as Python 27 wont be maintained after that date A future version of pip
这个错误提示是因为你正在使用Python 2.7,而Python 2.7将于2020年1月1日结束其生命周期。在那之后,Python 2.7将不再得到维护。由于这个原因,未来的pip版本将不再支持Python 2.7。
要解决这个问题,建议你升级到Python 3版本。Python 3有许多改进和新特性,并且是继续开发和维护的版本。
如果你决定继续使用Python 2.7,你可以尝试使用旧版本的librosa,或者手动安装依赖项。请注意,这种做法可能会导致其他问题,因为librosa的新版本可能依赖于Python 3特定的功能。
建议的解决方案是升级到Python 3,并使用pip安装librosa0.7.2。你可以使用以下命令升级到Python 3:
$ sudo apt-get update
$ sudo apt-get install python3
然后,使用以下命令安装librosa0.7.2:
$ pip install librosa==0.7.2
这将安装librosa0.7.2以及其依赖项,并且你将能够在Python 3中使用它
原文地址: https://www.cveoy.top/t/topic/hTR6 著作权归作者所有。请勿转载和采集!