导入pyaudioconvert

时间:2019-03-01 06:15:22

标签: python

enter image description here从回溯中可以看出,导入pyaudioconvert时会发生异常。如何解决?

下面的跟踪:

Traceback (most recent call last):
  File "C:\Users\320052863\PycharmProjects\Test\venv\lib\site-packages\pyaudioconvert\__init__.py", line 43, in <module>
    assert(bool_which('sox'))
AssertionError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:/Users/320052863/PycharmProjects/Test/hello.py", line 1, in <module>
    import pyaudioconvert
  File "C:\Users\320052863\PycharmProjects\Test\venv\lib\site-packages\pyaudioconvert\__init__.py", line 45, in <module>
    raise SoxNotInstalled()
pyaudioconvert.SoxNotInstalled

1 个答案:

答案 0 :(得分:0)

如错误消息所述,您需要安装SoX

它也被列为pyaudioconvert的要求。