Pydub (WindowsError: [Error 2] The system can not find the file specified)

后端 未结 6 442
无人共我
无人共我 2020-12-06 13:25

I have a problem with Pydub module running in Windows and Linux. When I try open a mp3 file thus:

from pydub import AudioSegment
sound = AudioSegment.from_mp         


        
6条回答
  •  渐次进展
    2020-12-06 13:52

    you need to this:

    1- Download and extract libav from Windows binaries provided here. (http://builds.libav.org/windows/)

    2- Add the libav /bin folder to your PATH envvar

提交回复
热议问题