【问题标题】:Why is it showing 'guvectorize() missing 1 required positional argument: 'signature' ' for a package such as resampy为什么它显示 \'guvectorize() missing 1 required positional argument: \'signature\' \' for a package such as resampy
【发布时间】:2023-01-16 12:45:05
【问题描述】:

我试图导入 librosa,这给了我多个错误,例如缺少 audioread、resampy 等。我尝试手动安装所有这些。它仍然显示重采样错误。

C:\Users\asus\AppData\Roaming\Python\Python37\site-packages\resampy\interpn.py in <module>
     73 @guvectorize(
     74     "(n),(m),(p),(p),(),()->(m)",
---> 75     nopython=True,
     76 )
     77 def resample_f_p(x, t_out, interp_win, interp_delta, num_table, scale, y):

TypeError: guvectorize() missing 1 required positional argument: 'signature'

【问题讨论】:

  • 错误很明显:缺少 1 个必需的位置参数:“签名”

标签: python librosa


【解决方案1】:

我通过将“resampy”从版本 0.4.2 降级到 0.3.1 解决了这个错误。

【讨论】:

    【解决方案2】:

    将“resampy”从版本 0.4.2 降级到 0.2.2

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2018-05-19
      • 2022-01-06
      • 2016-05-09
      • 2023-03-28
      • 1970-01-01
      • 2020-09-27
      • 1970-01-01
      相关资源
      最近更新 更多