环境:python3.6
公司内网pip安装librosa长时间无响应,其实是卡在了依赖audioread上,如果等得足够耐心就会等到如下报错:
Could'n find index page for 'pytest-runner' (maybe misspelled?)
Download error on https://pypi.org/simple/: [Errno 101] Network is unreachable -- Some packages may not be found!
真是脑壳疼。
所以,先安装 pytest-runner:
> pip install pytest-runner
然后安装librosa或audioread就非常快了。
在公司内网环境下,使用pip安装librosa时遇到长时间无响应的问题,最终发现是由于依赖audioread导致的网络错误。通过先安装pytest-runner,可以快速解决此问题。
954

被折叠的 条评论
为什么被折叠?



