小编lea*_*ner的帖子

python3中的librosa模块导入引发警告

我已经使用该命令在 python3 中安装了模块 librosa,但是当我尝试导入该模块时,它显示以下警告

Warning (from warnings module):
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/librosa/util/decorators.py", line 9
    from numba.decorators import jit as optional_jit
NumbaDeprecationWarning: An import was requested from a module that has moved location.
Import requested from: 'numba.decorators', please update to use 'numba.core.decorators' or pin to Numba version 0.48.0. This alias will not be present in Numba version 0.50.0.
Run Code Online (Sandbox Code Playgroud)

python

2
推荐指数
1
解决办法
4877
查看次数

标签 统计

python ×1