gpt4 book ai didi

python - python3 中的 librosa 模块导入抛出警告

转载 作者:行者123 更新时间:2023-12-01 21:41:33 25 4
gpt4 key购买 nike

我已经使用命令在 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.

最佳答案

这对我有用:

pip3 install numba==0.48.0

关于python - python3 中的 librosa 模块导入抛出警告,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61288445/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com